Skip to content

Commit

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

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
path: './dist'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

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

0 comments on commit b50de87

Please sign in to comment.