Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
F Skru av automatisk deploy til prod
Browse files Browse the repository at this point in the history
Co-authored-by: richardmartinsen <Richard.Martinsen@nav.no>
Co-authored-by: hbleness <henrietta.eide.bleness@nav.no>
Co-authored-by: benedihm <benedicte.helen.myrvoll@nav.no>
  • Loading branch information
4 people committed Jul 17, 2024
1 parent 02a53ad commit 81b8781
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ jobs:
VAR: image=${{ env.IMAGE }},name=${{ github.event.repository.name }}
VARS: .nais/vars/dev.yml

deploy-prod:
name: Deploy to NAIS prod
needs: deploy-dev
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/nais.yml
VAR: image=${{ env.IMAGE }},name=${{ github.event.repository.name }}
VARS: .nais/vars/prod.yml
# deploy-prod:
# name: Deploy to NAIS prod
# needs: deploy-dev
# if: github.ref == 'refs/heads/main'
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: nais/deploy/actions/deploy@v2
# env:
# APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
# CLUSTER: prod-gcp
# RESOURCE: .nais/nais.yml
# VAR: image=${{ env.IMAGE }},name=${{ github.event.repository.name }}
# VARS: .nais/vars/prod.yml

0 comments on commit 81b8781

Please sign in to comment.