2021-12-02 03:17:10 +08:00
|
|
|
name: NoneBot2 Publish Bot
|
2020-11-20 00:30:46 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
issues:
|
2020-11-20 16:39:52 +08:00
|
|
|
types: [opened, reopened, edited]
|
2022-03-25 18:24:35 +08:00
|
|
|
pull_request_target:
|
2020-11-20 00:30:46 +08:00
|
|
|
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
|
2022-03-02 13:46:22 +08:00
|
|
|
uses: actions/checkout@v3
|
2022-01-20 13:35:58 +08:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GH_TOKEN }}
|
2020-11-20 00:30:46 +08:00
|
|
|
|
2021-09-15 17:16:15 +08:00
|
|
|
- name: NoneBot2 Publish Bot
|
2022-02-16 11:10:54 +08:00
|
|
|
uses: docker://ghcr.io/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 }}
|
2022-01-04 20:23:21 +08:00
|
|
|
config: >
|
|
|
|
{
|
|
|
|
"base": "master",
|
|
|
|
"plugin_path": "website/static/plugins.json",
|
|
|
|
"bot_path": "website/static/bots.json",
|
|
|
|
"adapter_path": "website/static/adapters.json"
|
|
|
|
}
|