Skip to content

Commit

Permalink
Create deploy-main-v4-kdoc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Feb 26, 2024
1 parent 9478340 commit 05967a8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy-main-v4-kdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy Main V4 KDoc Pages
on:
push:
branches: 'kdoc-deploy/main-v4'

jobs:
deploy-main-v4-kdoc-pages:
name: deploy-main-v4-kdoc-pages
runs-on: ubuntu-latest
steps:
# 检出仓库代码
- uses: actions/checkout@v4

# https://github.com/marketplace/actions/github-pages-action
- name: Deploy main-v4 to doc repository
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PUSH_TOKEN }}
publish_branch: gh-pages
# 前缀为 snapshots
publish_dir: main-v4
destination_dir: main-v4

0 comments on commit 05967a8

Please sign in to comment.