Skip to content

Commit 7e27f19

Browse files
committed
OneBot CI config
1 parent 8654396 commit 7e27f19

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/deploy-ob-kdoc.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy OneBot Snapshot KDoc Pages
2+
on:
3+
push:
4+
branches:
5+
- kdoc-deploy/snapshots/component-onebot
6+
7+
jobs:
8+
deploy-onebot-snapshot-kdoc-pages:
9+
name: deploy-onebot-snapshot-kdoc-pages
10+
runs-on: ubuntu-latest
11+
steps:
12+
# 检出仓库代码
13+
- uses: actions/checkout@v4
14+
15+
# https://github.com/marketplace/actions/github-pages-action
16+
- name: Deploy snapshots/component/onebot to doc repository
17+
uses: peaceiris/actions-gh-pages@v3
18+
with:
19+
personal_token: ${{ secrets.PUSH_TOKEN }}
20+
publish_branch: gh-pages
21+
publish_dir: snapshots/components/onebot
22+
destination_dir: snapshots/components/onebot

0 commit comments

Comments
 (0)