File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change 1- name : Build Python API Docs
1+ name : Build And Publish Python API Docs
22
33on :
44 workflow_dispatch :
55
6- permissions : {}
6+ permissions :
7+ contents : read
8+ pages : write
9+ id-token : write
710
811jobs :
912 build-api-docs :
2023 - name : " Configure Git safe directory"
2124 run : git config --global --add safe.directory /__w/bdk-python/bdk-python
2225
23- - name : Set up Python
26+ - name : " Set up Python"
2427 uses : actions/setup-python@v5
2528 with :
2629 python-version : " 3.12"
4649 uses : actions/upload-artifact@v4
4750 with :
4851 name : artifact-bdkpython-api-docs
49- path : /home/runner/work/bdk-python/bdk-python/docs/_build/html
52+ path : docs/_build/html
53+
54+ - name : " Upload API Docs for GitHub Pages"
55+ uses : actions/upload-pages-artifact@v3
56+ with :
57+ path : docs/_build/html
58+
59+ deploy-api-docs :
60+ name : " Deploy bdkpython API docs on GitHub Pages"
61+ environment :
62+ name : github-pages
63+ url : ${{ steps.deployment.outputs.page_url }}
64+ runs-on : ubuntu-24.04
65+ needs : build-api-docs
66+ steps :
67+ - name : " Deploy to GitHub Pages"
68+ id : deployment
69+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments