Skip to content

Commit

Permalink
UPDATE: workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremiahUy committed Aug 17, 2023
1 parent 80891fc commit 2a3569c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,21 @@ jobs:
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_KEY }}
CLUSTER: ${{ matrix.cluster }}
RESOURCE: .nais/nais.yaml,.nais/topic.yaml
RESOURCE: .nais/nais.yaml

deploy-prod:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'release'
strategy:
matrix:
cluster: ["prod-gcp"]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Deploy to ${{ matrix.cluster }}
uses: nais/deploy/actions/deploy@master
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_KEY }}
CLUSTER: ${{ matrix.cluster }}
RESOURCE: .nais/topic.yaml

0 comments on commit 2a3569c

Please sign in to comment.