publish.yml
This file
Path
.github/workflows/publish.yml
27 lines · 572 bytes · YAML
Last changed by
Publish workflow (#913)Tom Christiebefore adoptione586e5d
History of this fileTake it
12345678910111213141516171819202122232425262728---name: Publish
on: push: tags: - '*'
jobs: publish: name: "Publish release" runs-on: "ubuntu-latest"
steps: - uses: "actions/checkout@v2" - uses: "actions/setup-python@v1" with: python-version: 3.7 - name: "Install dependencies" run: "scripts/install" - name: "Build package & docs" run: "scripts/build" - name: "Publish to PyPI & deploy docs" run: "scripts/publish" env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}