Skip to content

Commit

Permalink
chore: use github packages (#85)
Browse files Browse the repository at this point in the history
* chore: update deps, use github packages
  • Loading branch information
valosnah authored Nov 21, 2024
1 parent 7a8c567 commit 167cfa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-prod&demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 167cfa5

Please sign in to comment.