👷 update doc ci

This commit is contained in:
yanyongyu
2021-12-02 03:17:10 +08:00
parent 0236746e65
commit 7d8a60b033
64 changed files with 257 additions and 8378 deletions

27
.github/workflows/publish-bot.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: NoneBot2 Publish Bot
on:
push:
branches:
- master
issues:
types: [opened, reopened, edited]
pull_request:
types: [closed]
jobs:
publish_bot:
runs-on: ubuntu-latest
name: nonebot2 publish bot
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: NoneBot2 Publish Bot
uses: nonebot/nonebot2-publish-bot@main
with:
token: ${{ secrets.GH_TOKEN }}
base: master
plugin_path: website/static/plugins.json
bot_path: website/static/bots.json
adapter_path: website/static/adapters.json