Skip to content

Commit

Permalink
update workflow for google drive sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ztjhz committed Apr 14, 2023
1 parent 3f0ada4 commit f5f777b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
id-token: write

concurrency:
group: "pages"
group: 'pages'
cancel-in-progress: true

jobs:
Expand All @@ -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
uses: actions/deploy-pages@v1
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ jobs:
run: yarn make
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_GOOGLE_CLIENT_ID: ${{ secrets.GCLIENT }}

0 comments on commit f5f777b

Please sign in to comment.