Chore/hos/add nokios admins (#32) #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to demo | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-and-deploy-demo: | |
name: Call reusable workflow on push to main branch | |
uses: Informasjonsforvaltning/workflows/.github/workflows/build-deploy.yaml@main | |
with: | |
app_name: fdk-nginx-altinn-proxy-mock | |
environment: demo | |
cluster: digdir-fdk-dev | |
secrets: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GCP_SA_DIGDIR_FDK_GCR_KEY: ${{ secrets.GCP_SA_DIGDIR_FDK_GCR_KEY }} | |
DIGDIR_FDK_AUTODEPLOY: ${{ secrets.DIGDIR_FDK_DEV_AUTODEPLOY }} | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
# Currently not needed, uncomment if deploy to staging is necessary | |
# deploy-to-staging: | |
# needs: build-and-deploy-demo | |
# name: Deploy to staging if demo-deploy is successful | |
# uses: Informasjonsforvaltning/workflows/.github/workflows/deploy.yaml@main | |
# with: | |
# app_name: dataset-catalog-gui | |
# environment: staging | |
# cluster: digdir-fdk-dev | |
# secrets: | |
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# DIGDIR_FDK_AUTODEPLOY: ${{ secrets.DIGDIR_FDK_DEV_AUTODEPLOY }} | |
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |