Skip to content

chore: catalog-portal redirect #84

chore: catalog-portal redirect

chore: catalog-portal redirect #84

name: Deploy to staging
on:
pull_request:
types: [ready_for_review, opened, reopened, synchronize]
branches:
- main
workflow_dispatch:
jobs:
build-and-deploy-staging:
name: Call reusable workflow when pull request is created
if: github.event.pull_request.draft == false
uses: Informasjonsforvaltning/workflows/.github/workflows/build-deploy.yaml@main
with:
app_name: fdk-nginx-registration
environment: staging
cluster: digdir-fdk-dev
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GCP_SA_DIGDIR_FDK_GCR_KEY: ${{ secrets.GCP_SA_DIGDIR_FDK_GCR_KEY }}

Check failure on line 21 in .github/workflows/deploy-staging.yaml

View workflow run for this annotation

GitHub Actions / Deploy to staging

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-staging.yaml (Line: 21, Col: 34): Invalid secret, GCP_SA_DIGDIR_FDK_GCR_KEY is not defined in the referenced workflow.
DIGDIR_FDK_AUTODEPLOY: ${{ secrets.DIGDIR_FDK_DEV_AUTODEPLOY }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}