From 531306df49e5f8ac0cd07a342648ce59c2e74d6b Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 6 Oct 2026 18:18:57 +0800 Subject: [PATCH] chore(ci): use deployment environment for Zephyr token --- .github/workflows/deploy-website.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 7647f9a1..77cdc205 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -15,6 +15,7 @@ jobs: deploy: if: github.repository == 'rstackjs/rstack-cli' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest + environment: deployment timeout-minutes: 30 permissions: contents: read @@ -38,7 +39,7 @@ jobs: - name: Verify Zephyr token env: ZE_CI_TOKEN: ${{ secrets.ZE_CI_TOKEN }} - run: test -n "$ZE_CI_TOKEN" || { echo '::error::Set repository secret ZE_CI_TOKEN.'; exit 1; } + run: test -n "$ZE_CI_TOKEN" || { echo '::error::Set ZE_CI_TOKEN in the deployment environment secrets.'; exit 1; } - name: Build workspace packages run: pnpm build