Skip to content

Commit

Permalink
Fix env for BD_TOKEN (#4268)
Browse files Browse the repository at this point in the history
Signed-off-by: Carson Yang <[email protected]>
  • Loading branch information
yangchuansheng authored Nov 7, 2023
1 parent f1a78a5 commit 2113d17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy-docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ concurrency:

env:
BUILD_PATH: "./docs/website"
BD_TOKEN: ${{ secrets.BD_TOKEN }}

jobs:
build:
Expand Down Expand Up @@ -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 ]
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ concurrency:

env:
BUILD_PATH: "./docs/website"
BD_TOKEN: ${{ secrets.BD_TOKEN }}

jobs:
build:
Expand Down Expand Up @@ -76,5 +77,3 @@ jobs:
github-comment: false
vercel-args: '--prod'
working-directory: ${{ env.BUILD_PATH }}/build
env:
BD_TOKEN: "${{ secrets.BD_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/docs-site-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 2113d17

Please sign in to comment.