diff --git a/.github/workflows/deploy-docs-preview.yml b/.github/workflows/deploy-docs-preview.yml index 5a4b072ddb7..d84de73fae0 100644 --- a/.github/workflows/deploy-docs-preview.yml +++ b/.github/workflows/deploy-docs-preview.yml @@ -21,6 +21,7 @@ concurrency: env: BUILD_PATH: "./docs/website" + BD_TOKEN: ${{ secrets.BD_TOKEN }} jobs: build: @@ -93,8 +94,6 @@ jobs: github-comment: false # vercel-args: '--local-config vercel.json' # Optional working-directory: ${{ env.BUILD_PATH }}/build - env: - BD_TOKEN: "${{ secrets.BD_TOKEN }}" docsOutput: needs: [ build ] diff --git a/.github/workflows/deploy-docs-site.yml b/.github/workflows/deploy-docs-site.yml index 4eba6ee3c7d..626e40beabf 100644 --- a/.github/workflows/deploy-docs-site.yml +++ b/.github/workflows/deploy-docs-site.yml @@ -21,6 +21,7 @@ concurrency: env: BUILD_PATH: "./docs/website" + BD_TOKEN: ${{ secrets.BD_TOKEN }} jobs: build: @@ -76,5 +77,3 @@ jobs: github-comment: false vercel-args: '--prod' working-directory: ${{ env.BUILD_PATH }}/build - env: - BD_TOKEN: "${{ secrets.BD_TOKEN }}" diff --git a/.github/workflows/docs-site-image.yml b/.github/workflows/docs-site-image.yml index fa6784d4e55..8e3bc0199d0 100644 --- a/.github/workflows/docs-site-image.yml +++ b/.github/workflows/docs-site-image.yml @@ -59,7 +59,7 @@ jobs: file: ./docs/website/Dockerfile push: true build-args: | - BD_TOKEN=${{ env.BD_TOKEN }} + BD_TOKEN=${{ secrets.BD_TOKEN }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}