chore: update dependencies #14
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 prod&demo | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build-catalog-view-api: | ||
name: Build when pull request is created | ||
if: github.event.pull_request.draft == false | ||
uses: Informasjonsforvaltning/workflows/.github/workflows/build-push.yaml@main | ||
with: | ||
app_name: catalog-view-api | ||
environment: prod | ||
java_version: '17' | ||
coverage_file_path: ./target/site/jacoco/jacoco.xml | ||
secrets: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GCP_SA_DIGDIR_FDK_GCR_KEY: ${{ secrets.GCP_SA_DIGDIR_FDK_GCR_KEY }} | ||
Check failure on line 20 in .github/workflows/deploy-prod&demo.yaml GitHub Actions / Deploy to prod&demoInvalid workflow file
|
||
deploy-prod: | ||
name: Deploy to prod environment | ||
needs: [ build-catalog-view-api ] | ||
uses: Informasjonsforvaltning/workflows/.github/workflows/kustomize-deploy.yaml@main | ||
with: | ||
app_name: catalog-view-api | ||
environment: prod | ||
cluster: digdir-fdk-prod | ||
secrets: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DIGDIR_FDK_AUTODEPLOY: ${{ secrets.DIGDIR_FDK_PROD_AUTODEPLOY }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
deploy-demo: | ||
name: Deploy to demo environment | ||
needs: [deploy-prod ] | ||
uses: Informasjonsforvaltning/workflows/.github/workflows/kustomize-deploy.yaml@main | ||
with: | ||
app_name: catalog-view-api | ||
environment: demo | ||
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 }} |