Skip to content

fix: rm contact field #55

fix: rm contact field

fix: rm contact field #55

Workflow file for this run

name: Deploy to staging
on:
pull_request:
types: [ready_for_review, opened, reopened, synchronize]
branches:
- main
jobs:
run-tests:
name: Run tests
uses: Informasjonsforvaltning/workflows/.github/workflows/coverage-go.yaml@main
with:
go_version: 1.23
coverage_file_path: ./coverage.txt
test_path: ./test
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
build-ai-project-service:
name: Build query-cache when pull request is created
if: github.event.pull_request.draft == false
needs: run-tests
uses: Informasjonsforvaltning/workflows/.github/workflows/build-push.yaml@main
with:
app_name: ai-project-service
environment: staging
build_env: true
build_env_name: BINARY
build_env_value: ai-project-service
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GCP_SA_DIGDIR_FDK_GCR_KEY: ${{ secrets.GCP_SA_DIGDIR_FDK_GCR_KEY }}
deploy:
name: Deploy to staging environment with reusable workflow
needs: [ run-tests, build-ai-project-service ]
uses: Informasjonsforvaltning/workflows/.github/workflows/kustomize-deploy.yaml@main
with:
app_name: ai-project-service
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 }}