Skip to content

Commit

Permalink
Update GitHub Actions release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Mar 2, 2024
1 parent 2ea6ae7 commit d3f80c6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,21 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: 3.11
- run: pip install poetry
- run: poetry install
- uses: tschm/[email protected]
id: mint
- run: poetry publish --build -u __token__ -p $PYPI_TOKEN
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
PYPI_TOKEN: ${{ steps.mint.outputs.api-token }}
- run: poetry run poe document
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ github.token }}
publish_dir: ./documentation/module/_build/html
publish_branch: documentation
force_orphan: true

0 comments on commit d3f80c6

Please sign in to comment.