Skip to content

Commit 888ba92

Browse files
committed
Updated github action...
... to also publish auto-generated docs to github pages.
1 parent b5cc8d2 commit 888ba92

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,15 @@ jobs:
2424
FORGE_CLIENT_SECRET: ${{ secrets.FORGE_CLIENT_SECRET }}
2525
FORGE_BUCKET: ${{ secrets.FORGE_BUCKET }}
2626
run: make test
27-
- name: Generate docs
28-
run: make docs
2927
- name: Build and publish
3028
env:
3129
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3230
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3331
run: make publish
32+
- name: Publish docs
33+
run: make docs
34+
- name: Deploy docs
35+
uses: JamesIves/[email protected]
36+
with:
37+
branch: gh-pages
38+
folder: docs/autodesk_forge_sdk

0 commit comments

Comments
 (0)