Update book.yml

pull/111/head
chai2010 2022-08-24 21:43:05 +08:00 committed by GitHub
parent 21a09260a9
commit 6b7d11fdf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -34,3 +34,14 @@ jobs:
publish_branch: gh-pages
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
- name: Deploy Golang-China
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GOLANG_CHINA_DEPLOY_KEY }}
external_repository: golang-china/gopl-zh
publish_dir: ./book
publish_branch: gh-pages
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'