Skip to content

Commit

Permalink
Create deploy-villa-snapshot-kdoc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet authored Dec 31, 2023
1 parent 4ab0965 commit 72ce757
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy-villa-snapshot-kdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy Miyoushe Villa Snapshots KDoc Pages
on:
push:
branches: 'kdoc-deploy/snapshots/component-miyoushe-villa'

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

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

0 comments on commit 72ce757

Please sign in to comment.