Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Saber2pr committed Feb 16, 2022
1 parent 8ec5f61 commit 53ec86f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ runs:
using: "composite"
steps:
- uses: actions/checkout@v2

with:
fetch-depth: 0
ref: gh-pages

- run: |
# config
git config user.name "github-actions[bot]"
Expand All @@ -26,10 +29,10 @@ runs:
# download wiki app
curl "https://raw.githubusercontent.com/Saber2pr/saber2pr.github.io/master/release/index.html" > index.html
# deploy
git add .
git commit -a -m "feat: deploy wiki" --allow-empty
git push origin gh-pages
shell: bash
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./

0 comments on commit 53ec86f

Please sign in to comment.