Skip to content

Commit 0132ed1

Browse files
committed
Fix workflow per Tania comments
1 parent e4f9fa3 commit 0132ed1

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/publish-docs.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: Build and publish docs
22

33
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
- labeled
10+
411
push:
512
branches: ['main']
613
tags: '*'
@@ -31,13 +38,16 @@ jobs:
3138
- name: Setup Pages
3239
uses: actions/configure-pages@v5
3340

34-
- uses: ./.github/actions/install-dependencies
35-
name: Install dependencies
41+
- name: Set up Python
42+
uses: actions/setup-python@v5
43+
with:
44+
python-version: "3.10"
45+
cache: "pip"
3646

3747
- run: pnpm exec nx run-many -t build --projects=tag:lib
3848

3949
- name: Build docs
40-
run: pnpm ci:docs
50+
run: python3 scripts/generate_api_docs.py
4151

4252
- name: Upload artifact
4353
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)