mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 06:31:41 +08:00
31 lines
700 B
YAML
31 lines
700 B
YAML
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 }}
|
|
config: >
|
|
{
|
|
"base": "master",
|
|
"plugin_path": "website/static/plugins.json",
|
|
"bot_path": "website/static/bots.json",
|
|
"adapter_path": "website/static/adapters.json"
|
|
}
|