File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change 49
49
deploy-dev :
50
50
name : Deploy to dev
51
51
needs : [build]
52
- if : github.ref == 'refs/heads/støtte-for-lagring-av-begrunnelse-for-endring '
52
+ if : github.ref == 'refs/heads/main '
53
53
runs-on : ubuntu-latest
54
54
permissions :
55
55
contents : " read"
@@ -64,21 +64,21 @@ jobs:
64
64
VARS : nais/vars.yaml
65
65
VAR : image=${{ needs.build.outputs.image }}
66
66
PRINT_PAYLOAD : true
67
- # deploy-prod:
68
- # name: Deploy to Production
69
- # needs: [build, deploy-dev]
70
- # if: github.ref == 'refs/heads/main'
71
- # runs-on: ubuntu-latest
72
- # permissions:
73
- # contents: "read"
74
- # id-token: "write"
75
- # environment: prod-gcp
76
- # steps:
77
- # - uses: actions/checkout@v4
78
- # - uses: nais/deploy/actions/deploy@v2
79
- # env:
80
- # CLUSTER: prod-gcp
81
- # RESOURCE: nais/prod/nais.yaml
82
- # VARS: nais/vars.yaml
83
- # VAR: image=${{ needs.build.outputs.image }}
84
- # PRINT_PAYLOAD: true
67
+ deploy-prod :
68
+ name : Deploy to Production
69
+ needs : [build, deploy-dev]
70
+ if : github.ref == 'refs/heads/main'
71
+ runs-on : ubuntu-latest
72
+ permissions :
73
+ contents : " read"
74
+ id-token : " write"
75
+ environment : prod-gcp
76
+ steps :
77
+ - uses : actions/checkout@v4
78
+ - uses : nais/deploy/actions/deploy@v2
79
+ env :
80
+ CLUSTER : prod-gcp
81
+ RESOURCE : nais/prod/nais.yaml
82
+ VARS : nais/vars.yaml
83
+ VAR : image=${{ needs.build.outputs.image }}
84
+ PRINT_PAYLOAD : true
You can’t perform that action at this time.
0 commit comments