mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-06-03 00:35:21 +00:00
📝 更新 GitHub Actions 工作流以支持推送和拉取请求
This commit is contained in:
parent
f39f5cc1be
commit
a0f2b52e59
8
.github/workflows/docs-build.yml
vendored
8
.github/workflows/docs-build.yml
vendored
@ -1,9 +1,6 @@
|
||||
name: Deploy VitePress site to Liteyuki PaaS
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
on: ["push", "pull_request"]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@ -28,7 +25,7 @@ jobs:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Setup API markdown
|
||||
run: |-
|
||||
@ -52,7 +49,6 @@ jobs:
|
||||
run: |-
|
||||
pnpm run docs:build
|
||||
|
||||
|
||||
- name: "发布"
|
||||
run: |
|
||||
npx -p "@getmeli/cli" meli upload docs/.vitepress/dist \
|
||||
|
Loading…
x
Reference in New Issue
Block a user