Skip to content

Commit

Permalink
Pass deno deploy token
Browse files Browse the repository at this point in the history
  • Loading branch information
SchahinRohani committed Sep 4, 2024
1 parent 913e710 commit 1b43f3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:

name: Docs Deployment / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: production

permissions:
id-token: write
Expand Down Expand Up @@ -66,7 +67,9 @@ jobs:
- name: Production deployment
if: matrix.os == 'ubuntu-24.04' && github.ref == 'refs/heads/main'
working-directory: docs
env:
DENO_DEPLOY_TOKEN: ${{ secrets.DENO_DEPLOY_TOKEN }}
run: |
nix develop --impure --command bash -c "
bun prod --project=nativelink-docs --org=nativelink
bun prod --project=nativelink-docs --org=nativelink --token=$DENO_DEPLOY_TOKEN
"

0 comments on commit 1b43f3d

Please sign in to comment.