Skip to content

Commit

Permalink
chore: setting git pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaziling committed Sep 14, 2024
1 parent 5f143f2 commit 25a8215
Showing 1 changed file with 5 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 @@ -29,9 +29,11 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: ./docs-dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs-dist

0 comments on commit 25a8215

Please sign in to comment.