Update gh-pages.yml

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

View File

@ -15,7 +15,7 @@ jobs:
- run: npm run build
- name: Publish github pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/linpeilie/mapstruct-plus.git
npx gh-pages -d build -u "github-actions-bot <support+actions@github.com>"
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:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}