-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 1020 Bytes
/
deploy_prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# ******************************************************************************************************************
#
# Dette er en auto-generert fil; endringer gjøres i templates/.github/workflows/deploy_prod.yml
# Kjør deretter ' make generate-files' for oppdatering av workflow hos prosjekter
#
# ******************************************************************************************************************
name: Deploy PROD
on:
repository_dispatch:
types: [deploy-prod]
jobs:
deploy_prod:
name: 'Deploy til PROD'
runs-on: ubuntu-latest
steps:
- name: 'Pull repo'
uses: actions/checkout@v3
- name: 'Vise image'
run: |
echo "image-tag: ${{ github.event.client_payload.image }}"
- name: 'NAIS-deploy to PROD'
uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: nais/prod-gcp.yml
IMAGE: ${{ github.event.client_payload.image }}