Skip to content

Commit 92ebd73

Browse files
committed
update workflows
1 parent 891fd08 commit 92ebd73

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,13 @@ jobs:
2626
poetry --version
2727
- name: Install dependencies and library
2828
run: poetry install --no-root
29-
- name: Generate documentation sources
30-
run: |
31-
poetry run sphinx-apidoc -f -o ./source ../scaleway-core
32-
poetry run sphinx-apidoc -f -o ./source ../scaleway
33-
poetry run sphinx-apidoc -f -o ./source ../scaleway-async
3429
- name: Generate documentation
35-
run: poetry run sphinx-build -b html ./ ./_build
30+
run: poetry run make html
3631
- name: Deploy to GitHub Pages
3732
uses: peaceiris/actions-gh-pages@v4
3833
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
3934
with:
4035
publish_branch: docs
4136
github_token: ${{ secrets.GITHUB_TOKEN }}
4237
publish_dir: ./docs/_build
43-
force_orphan: true
38+
force_orphan: true

0 commit comments

Comments
 (0)