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
|
- name: Build directory
|
||||||
run: pnpm run vite:directory:build
|
run: pnpm run vite:directory:build
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: s0/git-publish-subdir-action@develop
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
env:
|
with:
|
||||||
REPO: self
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
BRANCH: gh-pages
|
publish_dir: ./release
|
||||||
FOLDER: release
|
cname: arknights.halyul.dev
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
allow_empty_commit: true
|
||||||
CLEAR_GLOBS_FILE: ".gh-pages-clear-rules"
|
user_name: 'github-actions[bot]'
|
||||||
SKIP_EMPTY_COMMITS: true
|
user_email: 'github-actions[bot]@users.noreply.github.com'
|
||||||
|
|||||||
Reference in New Issue
Block a user