👷 update api docs ci

This commit is contained in:
Ju4tCode 2020-09-29 22:29:51 +08:00 committed by GitHub
parent b955024818
commit 73e6062a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,9 +3,6 @@ name: Build API Doc
on:
pull_request:
types: [ opened, synchronize, reopened ]
branches:
- master
- dev
jobs:
build:
@ -32,7 +29,7 @@ jobs:
run: poetry run sphinx-build -M markdown ./docs_build ./build
- name: Copy Files
run: cp ./build/markdown/*.md ./docs/api/
run: cp -r ./build/markdown/* ./docs/api/
- run: |
git config user.name nonebot