From 0b1f2450610f741709a34b287daadd39a12d853f Mon Sep 17 00:00:00 2001 From: pure-js <3690368+pure-js@users.noreply.github.com> Date: Tue, 26 Sep 2023 09:43:29 +0400 Subject: [PATCH] ci: fix deploy action --- .github/workflows/deploy-to-gh-pages.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-gh-pages.yml b/.github/workflows/deploy-to-gh-pages.yml index 658d4461..bdb65516 100644 --- a/.github/workflows/deploy-to-gh-pages.yml +++ b/.github/workflows/deploy-to-gh-pages.yml @@ -13,6 +13,9 @@ concurrency: group: 'pages' cancel-in-progress: true +env: + VITE_GROWTH_BOOK_KEY: ${{ secrets.VITE_GROWTH_BOOK_KEY }} + jobs: build: runs-on: ubuntu-latest @@ -33,8 +36,6 @@ jobs: run: pnpm install --frozen-lockfile - name: Build run: pnpm run build - env: - VITE_GROWTH_BOOK_KEY: ${{ secrets.VITE_GROWTH_BOOK_KEY }} - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: