Skip to content

Commit 7fb6399

Browse files
tukwilasjmonson
authored andcommitted
fix docs update to gh-pages branch
Signed-off-by: guangli.bao <[email protected]>
1 parent a98a644 commit 7fb6399

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,20 @@ jobs:
7171
user_name: ${{ github.actor }}
7272
user_email: ${{ github.actor }}@users.noreply.github.com
7373
publish_branch: gh-pages
74+
75+
deploy-docs:
76+
permissions:
77+
contents: write
78+
runs-on: ubuntu-latest
79+
steps:
80+
- name: Checkout
81+
uses: actions/checkout@v3
82+
- name: Deploy docs to gh-pages branch
83+
uses: peaceiris/actions-gh-pages@v3
84+
with:
85+
github_token: ${{ secrets.GITHUB_TOKEN }}
86+
publish_dir: ./site
87+
keep_files: false
88+
user_name: ${{ github.actor }}
89+
user_email: ${{ github.actor }}@users.noreply.github.com
90+
publish_branch: gh-pages

0 commit comments

Comments
 (0)