Fix env for BD_TOKEN (#4268)

Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
This commit is contained in:
Carson Yang
2023-11-07 20:27:00 +08:00
committed by GitHub
parent f1a78a5a2b
commit 2113d17e5a
3 changed files with 3 additions and 5 deletions
+1 -2
View File
@@ -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 ]
+1 -2
View File
@@ -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 }}"
+1 -1
View File
@@ -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 }}