Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
Add previous page content
  • Loading branch information
white-gecko authored Aug 4, 2024
1 parent 04dbf67 commit 224ba45
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ jobs:
runs-on: ubuntu-latest
name: Build Vue
steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
ref: master
sparse-checkout: docs
path: docs
- name: Set Node.js 21.x
uses: actions/setup-node@v3
with:
Expand All @@ -23,10 +27,10 @@ jobs:
uses: borales/actions-yarn@v4
with:
cmd: build # will run `yarn build` command

- run: mv dist docs/pad
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_dir: ./docs
publish_branch: gh-pages

0 comments on commit 224ba45

Please sign in to comment.