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
concurrency:
group: "pages"
group: 'pages'
cancel-in-progress: true
jobs:
@ -33,6 +33,8 @@ jobs:
- name: Build website
run: yarn build
env:
VITE_GOOGLE_CLIENT_ID: ${{ secrets.GCLIENT }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v1

View file

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