2021-09-15 17:16:15 +08:00
|
|
|
name: 'NoneBot2 Publish Bot'
|
2020-11-20 00:30:46 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-11-20 00:36:07 +08:00
|
|
|
- master
|
2020-11-20 00:30:46 +08:00
|
|
|
issues:
|
2020-11-20 16:39:52 +08:00
|
|
|
types: [opened, reopened, edited]
|
2020-11-20 00:30:46 +08:00
|
|
|
pull_request:
|
|
|
|
types: [closed]
|
|
|
|
|
|
|
|
jobs:
|
2021-09-15 17:16:15 +08:00
|
|
|
publish_bot:
|
2020-11-20 00:30:46 +08:00
|
|
|
runs-on: ubuntu-latest
|
2021-09-15 17:16:15 +08:00
|
|
|
name: nonebot2 publish bot
|
2020-11-20 00:30:46 +08:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2021-09-15 17:16:15 +08:00
|
|
|
- name: NoneBot2 Publish Bot
|
|
|
|
uses: nonebot/nonebot2-publish-bot@main
|
2020-11-20 00:30:46 +08:00
|
|
|
with:
|
2020-11-20 13:38:28 +08:00
|
|
|
token: ${{ secrets.GH_TOKEN }}
|
2020-11-20 00:30:46 +08:00
|
|
|
base: master
|
2021-03-07 00:43:12 +08:00
|
|
|
plugin_path: docs/.vuepress/public/plugins.json
|
|
|
|
bot_path: docs/.vuepress/public/bots.json
|
|
|
|
adapter_path: docs/.vuepress/public/adapters.json
|