mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-06-05 00:05: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
|
name: Deploy VitePress site to Liteyuki PaaS
|
||||||
|
|
||||||
on:
|
on: ["push", "pull_request"]
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@ -28,7 +25,7 @@ jobs:
|
|||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: "3.11"
|
||||||
|
|
||||||
- name: Setup API markdown
|
- name: Setup API markdown
|
||||||
run: |-
|
run: |-
|
||||||
@ -52,7 +49,6 @@ jobs:
|
|||||||
run: |-
|
run: |-
|
||||||
pnpm run docs:build
|
pnpm run docs:build
|
||||||
|
|
||||||
|
|
||||||
- name: "发布"
|
- name: "发布"
|
||||||
run: |
|
run: |
|
||||||
npx -p "@getmeli/cli" meli upload docs/.vitepress/dist \
|
npx -p "@getmeli/cli" meli upload docs/.vitepress/dist \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user