Skip to content

Commit

Permalink
ci: klargjort for deploy v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyrremann committed Dec 19, 2023
1 parent 281617f commit b7f5f71
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main

jobs:
build:
build-deploy:
name: Build and push Docker container
runs-on: ubuntu-latest
permissions:
Expand All @@ -22,16 +22,9 @@ jobs:
team: the-g-team
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} # Provided as Organization Secret
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} # Provided as Organization Variable

deploy:
name: Deploy to NAIS
needs: build
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.yaml,nais/alert.yaml
VAR: image=${{ needs.build.outputs.image }}

0 comments on commit b7f5f71

Please sign in to comment.