chore: update header to link to catalog-portal #366
Workflow file for this run
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 staging | |
on: | |
pull_request: | |
types: [ready_for_review, opened, reopened, synchronize] | |
branches: | |
- main | |
jobs: | |
build-and-deploy-staging: | |
name: Build and deploy to staging when pull request is created | |
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false }} | |
uses: Informasjonsforvaltning/workflows/.github/workflows/build-deploy.yaml@main | |
with: | |
app_name: dataservice-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 }} | |
dependabot-build: | |
name: Build image on PR from dependabot | |
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }} | |
uses: Informasjonsforvaltning/workflows/.github/workflows/build.yaml@main | |
dependabot-build-dev-image: | |
name: Build dev image on PR from dependabot | |
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }} | |
uses: Informasjonsforvaltning/workflows/.github/workflows/build.yaml@main | |
with: | |
dockerfile: dev.Dockerfile |