update workflow for google drive sync

This commit is contained in:
Jing Hua 2023-04-14 15:41:10 +08:00
parent 3f0ada4a9d
commit f5f777b54b
2 changed files with 6 additions and 3 deletions

View file

@ -11,7 +11,7 @@ permissions:
id-token: write id-token: write
concurrency: concurrency:
group: "pages" group: 'pages'
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
@ -33,6 +33,8 @@ jobs:
- name: Build website - name: Build website
run: yarn build run: yarn build
env:
VITE_GOOGLE_CLIENT_ID: ${{ secrets.GCLIENT }}
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1

View file

@ -27,3 +27,4 @@ jobs:
run: yarn make run: yarn make
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_GOOGLE_CLIENT_ID: ${{ secrets.GCLIENT }}