Skip to content

Readthedocs config #188

Readthedocs config

Readthedocs config #188

Workflow file for this run

name: continuous-integration
on: [push, pull_request]
jobs:
publish:
name: Publish to PyPi
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: "3.8"
- name: Build package
run: |
pip install build
python -m build
- name: Publish
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_KEY }}