From 3913701f7f80331ca7f2f332f6be22a29f270ecb Mon Sep 17 00:00:00 2001 From: Misite Bao Date: Wed, 24 May 2023 07:48:53 +0800 Subject: [PATCH] chore: add environment variables to the deployment environment (#1181) --- .github/workflows/website-deploy.yml | 2 ++ .github/workflows/website-test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index a205362b..bc29e0f2 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -25,6 +25,8 @@ jobs: - name: Build website run: yarn build working-directory: ./docs + env: + CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} - name: Website Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/.github/workflows/website-test.yml b/.github/workflows/website-test.yml index 20aa565b..4d785cdd 100644 --- a/.github/workflows/website-test.yml +++ b/.github/workflows/website-test.yml @@ -25,3 +25,5 @@ jobs: - name: Test build website run: yarn build working-directory: ./docs + env: + CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}