Update gh-pages.yml

This commit is contained in:
linpeilie 2023-02-24 11:00:52 +08:00 committed by GitHub
parent 14a96ba43a
commit ef6d5eadbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,8 @@ jobs:
- run: npm run build
- name: Publish github pages
run: |
git config --global user.email "linpeilie@users.noreply.com"
git config --global user.name "linpeilie"
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -u "github-actions-bot <support+actions@github.com>"
env: