Skip to content

chore(deps): bump serde_json from 1.0.133 to 1.0.136 #170

chore(deps): bump serde_json from 1.0.133 to 1.0.136

chore(deps): bump serde_json from 1.0.133 to 1.0.136 #170

Workflow file for this run

name: Deploy to staging
on:
pull_request:
types: [ready_for_review, opened, reopened, synchronize]
branches:
- main
jobs:
# test:
# name: Run tests when pull request is created
# if: github.event.pull_request.draft == false
# uses: Informasjonsforvaltning/workflows/.github/workflows/test-rust.yaml@main
# secrets:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build with reusable workflow when pull request is created
if: github.event.pull_request.draft == false
uses: Informasjonsforvaltning/workflows/.github/workflows/build-push.yaml@main
with:
app_name: fdk-mqa-scoring-api
environment: staging
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
deploy:
name: Deploy to staging environment with reusable workflow when test and build is successful
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false }}
needs: [build]
uses: Informasjonsforvaltning/workflows/.github/workflows/kustomize-deploy.yaml@main
with:
app_name: fdk-mqa-scoring-api
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 }}