From 1b43f3d9dfb62f198c7a0ae97a690b01a6627c2b Mon Sep 17 00:00:00 2001 From: Schahin Rouhanizadeh Date: Wed, 4 Sep 2024 20:14:06 +0200 Subject: [PATCH] Pass deno deploy token --- .github/workflows/docs.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 6930525aa..d06bfc482 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -31,6 +31,7 @@ jobs: name: Docs Deployment / ${{ matrix.os }} runs-on: ${{ matrix.os }} + environment: production permissions: id-token: write @@ -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 "