Skip to content

Commit

Permalink
Generate bunfig.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
cskrov committed Aug 29, 2024
1 parent 3de37a9 commit 66baa1c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy-to-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ jobs:
bun-version: latest
registry-url: "https://npm.pkg.github.com/"
scope: "@navikt"


- name: Generate bunfig.toml
run: echo -e "[install.scopes]\n\"@navikt\" = { token = \"${{ secrets.READER_TOKEN }}\", url = \"https://npm.pkg.github.com/\" }" > bunfig.toml

- name: Install frontend dependencies
env:
BUN_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
Expand Down Expand Up @@ -87,8 +90,6 @@ jobs:
permissions:
contents: read
id-token: write
outputs:
artifact-id: ${{ steps.upload.outputs.artifact-id }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -135,13 +136,13 @@ jobs:
- name: Fetch index.html artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.build-frontend.outputs.artifact-id }}
name: index.html
path: ./frontend/dist/index.html

- name: Fetch server files artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.build-server.outputs.artifact-id }}
name: server
path: ./server/dist

- name: Build & push Docker image
Expand Down

0 comments on commit 66baa1c

Please sign in to comment.