From 6b7d11fdf8dde9bdfd17640af0f41e0f7ba2092b Mon Sep 17 00:00:00 2001 From: chai2010 Date: Wed, 24 Aug 2022 21:43:05 +0800 Subject: [PATCH] Update book.yml --- .github/workflows/book.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index b1c44a8..534b83c 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -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'