You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
441 B
YAML
19 lines
441 B
YAML
2 years ago
|
name: Publish
|
||
|
|
||
|
on:
|
||
|
release:
|
||
|
types: [ published ]
|
||
|
|
||
|
jobs:
|
||
|
build-and-publish:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: ./.github/actions/python-poetry-env
|
||
|
- name: Publish to pypi
|
||
|
run: |
|
||
|
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
|
||
|
poetry publish --build --no-interaction
|
||
|
- name: Deploy docs
|
||
|
run: poetry run mkdocs gh-deploy --force
|