Skip to content

Commit

Permalink
Merge pull request #699 from navikt/nais_compliance
Browse files Browse the repository at this point in the history
retter fil i yaml fila
  • Loading branch information
hjmNav authored Dec 5, 2024
2 parents 2e37a17 + c1c2772 commit e4b534d
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,16 @@ jobs:
IMAGE: ${{ needs.build_and_push.outputs.image }}
TELEMETRY: ${{ needs.build_and_push.outputs.telemetry }}
deployprod:
name: Deploy PR-branch to dev
name: Deploy to prod
needs: [ build_and_push ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout code
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: deploy/prod.yaml
IMAGE: ${{ needs.build_and_push.outputs.image }}
TELEMETRY: ${{ needs.build_and_push.outputs.telemetry }}
- name: Post failures to Slack
if: failure()
run: |
curl -X POST --data-urlencode "payload={\"channel\": \"$CHANNEL\", \"text\": \"$MESSAGE\", \"icon_emoji\": \":ghost:\"}" $WEBHOOK_URL
env:
MESSAGE: "Deploy til prod feilet"
CHANNEL: "#team-p3-medlemskap-notifications"
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
TELEMETRY: ${{ needs.build_and_push.outputs.telemetry }}

0 comments on commit e4b534d

Please sign in to comment.