Skip to content

Commit 37d8fe3

Browse files
committed
CI: Fix deploy-docs.yml
1 parent f0b1330 commit 37d8fe3

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
4343

4444
- run: pip install -U pip setuptools wheel pdoc3 && pip install -e .[all]
45-
- run: time .github/scripts/build.sh
45+
- run: time .github/scripts/build-docs.sh

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Deploy docs
22
on:
33
push:
4-
tags: [ v* ]
4+
tags: ['v[0-9]+.*']
5+
workflow_dispatch:
56

67
jobs:
78
deploy:
@@ -14,11 +15,12 @@ jobs:
1415
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
1516
- uses: ./.github/actions/setup
1617
with:
17-
python-version: 3.13
18+
python-version: 3.12
1819

1920
- run: pip install -e .[all] pdoc3
20-
- run: time .github/scripts/build.sh
21+
- run: python -m sambo._test -v
22+
- run: time .github/scripts/build-docs.sh
2123

2224
- env:
23-
GH_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
25+
GH_PASSWORD: ${{ secrets.GH_PASSWORD }}
2426
run: .github/scripts/deploy-gh-pages.sh

0 commit comments

Comments
 (0)