Skip to content

Commit

Permalink
[KAIZEN-0] bump deploy@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
abrhanav committed Jan 5, 2024
1 parent 66d06ce commit 9e1e0c6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
uses: nais/deploy/actions/deploy@v2
if: github.ref == env.Q1_TEST_BRANCH
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
PRINT_PAYLOAD: true
CLUSTER: dev-fss
RESOURCE: .nais/qa-template.yaml
Expand All @@ -56,14 +55,16 @@ jobs:
needs: build
if: github.ref == 'refs/heads/dev'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
strategy:
matrix:
q_env: [q0, q1]
steps:
- uses: actions/checkout@v3
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
PRINT_PAYLOAD: true
CLUSTER: dev-fss
RESOURCE: .nais/qa-template.yaml
Expand All @@ -74,11 +75,13 @@ jobs:
needs: build
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
PRINT_PAYLOAD: true
CLUSTER: prod-fss
RESOURCE: .nais/prod.yaml
Expand Down

0 comments on commit 9e1e0c6

Please sign in to comment.