Skip to content

Commit 69724fc

Browse files
JMLindsethvskjefst
andcommitted
Fjern deploy til dev for branchen
Co-authored-by: Vegard Skjefstad <[email protected]>
1 parent 92434b4 commit 69724fc

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/deploy.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
deploy-dev:
5050
name: Deploy to dev
5151
needs: [build]
52-
if: github.ref == 'refs/heads/støtte-for-lagring-av-begrunnelse-for-endring'
52+
if: github.ref == 'refs/heads/main'
5353
runs-on: ubuntu-latest
5454
permissions:
5555
contents: "read"
@@ -64,21 +64,21 @@ jobs:
6464
VARS: nais/vars.yaml
6565
VAR: image=${{ needs.build.outputs.image }}
6666
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

0 commit comments

Comments
 (0)