diff --git a/.github/workflows/deploy-prod&demo.yaml b/.github/workflows/deploy-prod&demo.yaml index 77edd5e..c498d8a 100644 --- a/.github/workflows/deploy-prod&demo.yaml +++ b/.github/workflows/deploy-prod&demo.yaml @@ -10,6 +10,8 @@ jobs: test: name: Run tests when merging to main uses: Informasjonsforvaltning/workflows/.github/workflows/test-rust.yaml@main + with: + toolchain_tc: nightly-2024-11-01 secrets: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} @@ -22,7 +24,6 @@ jobs: environment: prod secrets: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GCP_SA_DIGDIR_FDK_GCR_KEY: ${{ secrets.GCP_SA_DIGDIR_FDK_GCR_KEY }} deploy: name: Deploy to prod environment with reusable workflow when test and build is successful diff --git a/.github/workflows/deploy-staging.yaml b/.github/workflows/deploy-staging.yaml index abd9904..771b438 100644 --- a/.github/workflows/deploy-staging.yaml +++ b/.github/workflows/deploy-staging.yaml @@ -11,6 +11,8 @@ jobs: name: Run tests when pull request is created if: github.event.pull_request.draft == false uses: Informasjonsforvaltning/workflows/.github/workflows/test-rust.yaml@main + with: + toolchain_tc: nightly-2024-11-01 secrets: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} @@ -24,7 +26,6 @@ jobs: environment: staging 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 when test and build is successful