Milestone v0.4.3 - minor update, bit size variables and enhancements … #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy documentation and package | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r quality.txt | |
| pip install -e . | |
| - name: Build documentation | |
| run: | | |
| sphinx-build -M html doc build --keep-going | |
| - name: Deploy documentation | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./build/html | |
| - name: Release to pypi with poetry | |
| run: | | |
| poetry config pypi-token.pypi ${{ secrets.PYX2CSCOPE_PYPI }} | |
| poetry publish -vvv --build | |