Skip to content

Commit

Permalink
github pages fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ljxi committed Oct 6, 2023
1 parent 86692ac commit bb394f9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ jobs:
npm install
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
path: './dist'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

- name: Sync-to-tencent-cos
run: |
Expand Down

0 comments on commit bb394f9

Please sign in to comment.