Skip to content
Myr

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 file

Take it

Publish workflow (#913)Tom Christiebefore adoptione586e5d

lines 1–27why, one step back
1---
2name: Publish34on:5 push:6 tags:7 - '*'89jobs:10 publish:11 name: "Publish release"12 runs-on: "ubuntu-latest"1314 steps:15 - uses: "actions/checkout@v2"16 - uses: "actions/setup-python@v1"17 with:18 python-version: 3.719 - name: "Install dependencies"20 run: "scripts/install"21 - name: "Build package & docs"22 run: "scripts/build"23 - name: "Publish to PyPI & deploy docs"24 run: "scripts/publish"25 env:26 TWINE_USERNAME: __token__27 TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}