nonebot2/.github/workflows/publish-bot.yml

28 lines
617 B
YAML
Raw Normal View History

2021-12-01 19:17:10 +00:00
name: NoneBot2 Publish Bot
2020-11-19 16:30:46 +00:00
on:
push:
branches:
2020-11-19 16:36:07 +00:00
- master
2020-11-19 16:30:46 +00:00
issues:
types: [opened, reopened, edited]
2020-11-19 16:30:46 +00:00
pull_request:
types: [closed]
jobs:
publish_bot:
2020-11-19 16:30:46 +00:00
runs-on: ubuntu-latest
name: nonebot2 publish bot
2020-11-19 16:30:46 +00:00
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: NoneBot2 Publish Bot
uses: nonebot/nonebot2-publish-bot@main
2020-11-19 16:30:46 +00:00
with:
2020-11-20 05:38:28 +00:00
token: ${{ secrets.GH_TOKEN }}
2020-11-19 16:30:46 +00:00
base: master
2021-12-01 19:17:10 +00:00
plugin_path: website/static/plugins.json
bot_path: website/static/bots.json
adapter_path: website/static/adapters.json