aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/build-api.yml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2024-09-08 05:33:13 +0800
committerHsiangNianian <i@jyunko.cn>2024-09-08 05:33:13 +0800
commitad74d918169b5493a710398c50105a92a4e7ed97 (patch)
tree953e6a66672e14e5fe4db8bda1350bca421f5c2f /.github/workflows/build-api.yml
parent3367cca105d911d901d5ec46af80e5fd30b7dca3 (diff)
downloadHydroRoll-ad74d918169b5493a710398c50105a92a4e7ed97.tar.gz
HydroRoll-ad74d918169b5493a710398c50105a92a4e7ed97.zip
chore(deps): update Python and docs dependencies, adjust API build workflow
Diffstat (limited to '.github/workflows/build-api.yml')
-rw-r--r--.github/workflows/build-api.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml
index 0512c44..b690949 100644
--- a/.github/workflows/build-api.yml
+++ b/.github/workflows/build-api.yml
@@ -1,4 +1,4 @@
-name: api build
+name: Build API Doc
on:
push:
@@ -8,7 +8,7 @@ on:
inputs:
reason:
type: string
- required: true
+ required: false
description: 'The reason to manually trigger api doc build'
jobs:
@@ -32,7 +32,7 @@ jobs:
run: pdm sync
- name: Install dependencies
- run: pdm install -dG docs
+ run: pdm install --group docs --dev --no-default
- name: Remove API Doc
run: rm -rf docs/source/api