Skip to content

Commit b747fa8

Browse files
committed
add workflow dispatch
1 parent 46df4a2 commit b747fa8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/klass-api-build-and-deploy-pr.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: klass-api-build-and-deploy-pr.yml
22
on:
33
workflow_dispatch:
4+
inputs:
5+
app:
6+
description: 'App name'
7+
required: true
48
push:
59

610
jobs:
@@ -75,5 +79,6 @@ jobs:
7579
RESOURCE: .nais/test/klass-api-pr.yaml
7680
DEPLOY_SERVER: deploy.ssb.cloud.nais.io:443
7781
WORKLOAD_IMAGE: ${{ needs.build.outputs.image }}
78-
VAR: pr-number=${{ github.event.number != null && github.event.number || 1 }}
82+
VAR: app-name=${{github.event.inputs.app != null || 'pr'}}
7983
TELEMETRY: ${{ needs.build.outputs.telemetry }}
84+

0 commit comments

Comments
 (0)