fix(github actions): use a different action to push to gh-pages
This commit is contained in:
16
.github/workflows/gh-pages.yaml
vendored
16
.github/workflows/gh-pages.yaml
vendored
@@ -25,11 +25,11 @@ jobs:
|
||||
- name: Build directory
|
||||
run: pnpm run vite:directory:build
|
||||
- name: Deploy
|
||||
uses: s0/git-publish-subdir-action@develop
|
||||
env:
|
||||
REPO: self
|
||||
BRANCH: gh-pages
|
||||
FOLDER: release
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CLEAR_GLOBS_FILE: ".gh-pages-clear-rules"
|
||||
SKIP_EMPTY_COMMITS: true
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./release
|
||||
cname: arknights.halyul.dev
|
||||
allow_empty_commit: true
|
||||
user_name: 'github-actions[bot]'
|
||||
user_email: 'github-actions[bot]@users.noreply.github.com'
|
||||
|
||||
Reference in New Issue
Block a user