Skip to content

Commit

Permalink
build(构建): 自动化
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangkc committed Jul 17, 2024
1 parent 86054a7 commit d3d1998
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ jobs:
npm install -g yarn
yarn install
npm run build
rm -rf docs
mkdir docs
cp -rf dist/* docs
- name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_dir: ./dist

0 comments on commit d3d1998

Please sign in to comment.