Skip to content

Commit 2a7002b

Browse files
committed
[feature]尝试自动部署自定义域名
1 parent 22468d2 commit 2a7002b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,11 @@ jobs:
3535
git add .
3636
git commit -m "Deploy $GITHUB_SHA to gh-pages"
3737
git push --force --set-upstream origin gh-pages
38+
- name: Deploy Web
39+
uses: peaceiris/actions-gh-pages@v3
40+
with:
41+
EXTERNAL_REPOSITORY: syswonder/hvisor-Book
42+
PUBLISH_BRANCH: gh-pages
43+
PUBLISH_DIR: ./
44+
commit_message: ${{ github.event.head_commit.message }}
45+
cname: hvisor.syswonder.org

0 commit comments

Comments
 (0)