mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-29 17:27:41 +00:00
👷 update store publish bot
仓库迁移至 NoneBot 组织
This commit is contained in:
27
.github/workflows/publish_bot.yml
vendored
Normal file
27
.github/workflows/publish_bot.yml
vendored
Normal 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: docs/.vuepress/public/plugins.json
|
||||
bot_path: docs/.vuepress/public/bots.json
|
||||
adapter_path: docs/.vuepress/public/adapters.json
|
Reference in New Issue
Block a user