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 df1c363 commit d4d6041
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
run: yarn
- name: Build your project
run: yarn run docs:build
- name: Show build output directory
run: ls -la ./docs-dist

deploy:
needs: build
Expand All @@ -29,17 +31,8 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Show current directory
run: pwd

- name: List files in the current directory
run: ls -la

- 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:
folder: docs-dist

0 comments on commit d4d6041

Please sign in to comment.