File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ name: Manual deploy to dev
3
3
on :
4
4
workflow_call :
5
5
secrets :
6
- NAIS_DEPLOY_API_KEY :
7
- description : " API key for nais/deploy"
8
- required : true
9
6
NAIS_WORKLOAD_IDENTITY_PROVIDER :
10
7
description : " Identity provider for nais/docker-build-push"
11
8
required : true
@@ -84,13 +81,12 @@ jobs:
84
81
name : Checkout code
85
82
86
83
- name : Deploy to dev
87
- uses : nais/deploy/actions/deploy@v1
84
+ uses : nais/deploy/actions/deploy@v2
88
85
env :
89
86
TEAM : klage
90
87
CLUSTER : dev-gcp
91
88
VARS : deploy/dev.yaml
92
89
RESOURCE : deploy/nais.yaml
93
- APIKEY : ${{ secrets.NAIS_DEPLOY_API_KEY }}
94
90
VAR : image=${{ needs.build.outputs.image }}
95
91
IMAGE : ${{ needs.build.outputs.image }}
96
92
Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ name: Manual deploy to prod
3
3
on :
4
4
workflow_call :
5
5
secrets :
6
- NAIS_DEPLOY_API_KEY :
7
- description : " API key for nais/deploy"
8
- required : true
9
6
NAIS_WORKLOAD_IDENTITY_PROVIDER :
10
7
description : " Identity provider for nais/docker-build-push"
11
8
required : true
@@ -39,13 +36,12 @@ jobs:
39
36
run : echo "image=${{ steps.image-registry.outputs.registry }}/kabal-smart-editor-api:${{ github.sha }}" >> $GITHUB_OUTPUT
40
37
41
38
- name : Deploy to prod
42
- uses : nais/deploy/actions/deploy@v1
39
+ uses : nais/deploy/actions/deploy@v2
43
40
env :
44
41
TEAM : klage
45
42
CLUSTER : prod-gcp
46
43
VARS : deploy/prod.yaml
47
44
RESOURCE : deploy/nais.yaml
48
- APIKEY : ${{ secrets.NAIS_DEPLOY_API_KEY }}
49
45
VAR : image=${{ steps.image.outputs.image }}
50
46
IMAGE : ${{ steps.image.outputs.image }}
51
47
Original file line number Diff line number Diff line change 15
15
id-token : write
16
16
uses : ./.github/workflows/deploy-to-dev.yaml
17
17
secrets :
18
- NAIS_DEPLOY_API_KEY : ${{ secrets.NAIS_DEPLOY_API_KEY }}
19
18
NAIS_WORKLOAD_IDENTITY_PROVIDER : ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
20
19
21
20
deploy_to_prod :
26
25
needs : deploy_to_dev
27
26
uses : ./.github/workflows/deploy-to-prod.yaml
28
27
secrets :
29
- NAIS_DEPLOY_API_KEY : ${{ secrets.NAIS_DEPLOY_API_KEY }}
30
28
NAIS_WORKLOAD_IDENTITY_PROVIDER : ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
You can’t perform that action at this time.
0 commit comments