Skip to content

Commit 07c273d

Browse files
JMLindsethArselanSultanivskjefst
committed
Deploy til dev
Co-authored-by: Arselan Sultani <[email protected]> Co-authored-by: Vegard Skjefstad <[email protected]>
1 parent f98a4cf commit 07c273d

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/main'
52+
if: github.ref == 'refs/heads/hent-inntekt-med-inntektId'
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)