mirror of
https://github.com/labring/sealos.git
synced 2026-09-24 15:46:19 +08:00
Fix env for BD_TOKEN (#4268)
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
This commit is contained in:
@@ -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 ]
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user