diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 87bb174..7a6a96d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,7 +11,7 @@ permissions: id-token: write concurrency: - group: "pages" + group: 'pages' cancel-in-progress: true jobs: @@ -33,12 +33,14 @@ jobs: - name: Build website run: yarn build + env: + VITE_GOOGLE_CLIENT_ID: ${{ secrets.GCLIENT }} - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: path: './dist' - + - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + uses: actions/deploy-pages@v1 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 337c8fc..0faa152 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,3 +27,4 @@ jobs: run: yarn make env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VITE_GOOGLE_CLIENT_ID: ${{ secrets.GCLIENT }}