File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Documentation
1+ # Documentation workflow - Currently disabled
2+ # Uncomment to enable automatic documentation building
23
3- on :
4- push :
5- branches : [ main ]
6- pull_request :
7- branches : [ main ]
4+ # name: Documentation
85
9- jobs :
10- build :
11- runs-on : ubuntu-latest
12-
13- steps :
14- - uses : actions/checkout@v3
15-
16- - name : Set up Python
17- uses : actions/setup-python@v4
18- with :
19- python-version : ' 3.10'
20-
21- - name : Install dependencies
22- run : |
23- python -m pip install --upgrade pip
24- pip install sphinx sphinx-rtd-theme
25- pip install -e .
26-
27- - name : Build documentation
28- run : |
29- cd docs
30- sphinx-build -b html . _build/html -W
31-
32- - name : Upload documentation artifacts
33- uses : actions/upload-artifact@v3
34- with :
35- name : documentation
36- path : docs/_build/html
6+ # on:
7+ # push:
8+ # branches: [ main ]
9+ # pull_request:
10+ # branches: [ main ]
3711
12+ # jobs:
13+ # build:
14+ # runs-on: ubuntu-latest
15+ #
16+ # steps:
17+ # - uses: actions/checkout@v3
18+ #
19+ # - name: Set up Python
20+ # uses: actions/setup-python@v4
21+ # with:
22+ # python-version: '3.10'
23+ #
24+ # - name: Install dependencies
25+ # run: |
26+ # python -m pip install --upgrade pip
27+ # pip install sphinx sphinx-rtd-theme
28+ # pip install -e .
29+ #
30+ # - name: Build documentation
31+ # run: |
32+ # cd docs
33+ # sphinx-build -b html . _build/html -W
34+ #
35+ # - name: Upload documentation artifacts
36+ # uses: actions/upload-artifact@v3
37+ # with:
38+ # name: documentation
39+ # path: docs/_build/html
Original file line number Diff line number Diff line change 1- name : Publish to PyPI
1+ # PyPI publish workflow - Currently disabled
2+ # Uncomment to enable automatic publishing on release
23
3- on :
4- release :
5- types : [published]
4+ # name: Publish to PyPI
65
7- jobs :
8- deploy :
9- runs-on : ubuntu-latest
10-
11- steps :
12- - uses : actions/checkout@v3
13-
14- - name : Set up Python
15- uses : actions/setup-python@v4
16- with :
17- python-version : ' 3.10'
18-
19- - name : Install dependencies
20- run : |
21- python -m pip install --upgrade pip
22- pip install build twine
23-
24- - name : Build package
25- run : python -m build
26-
27- - name : Publish to PyPI
28- env :
29- TWINE_USERNAME : __token__
30- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
31- run : twine upload dist/*
6+ # on:
7+ # release:
8+ # types: [published]
329
10+ # jobs:
11+ # deploy:
12+ # runs-on: ubuntu-latest
13+ #
14+ # steps:
15+ # - uses: actions/checkout@v3
16+ #
17+ # - name: Set up Python
18+ # uses: actions/setup-python@v4
19+ # with:
20+ # python-version: '3.10'
21+ #
22+ # - name: Install dependencies
23+ # run: |
24+ # python -m pip install --upgrade pip
25+ # pip install build twine
26+ #
27+ # - name: Build package
28+ # run: python -m build
29+ #
30+ # - name: Publish to PyPI
31+ # env:
32+ # TWINE_USERNAME: __token__
33+ # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
34+ # run: twine upload dist/*
You can’t perform that action at this time.
0 commit comments