Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name: Publish to PyPi

on:
release:
types: [published]
types: [published]

jobs:
upload:
Expand Down Expand Up @@ -50,13 +50,13 @@ jobs:
run: make release-test
env:
PYPI_USERNAME: __token__
PYPI_TOKEN: ${{ secrets.PYPI_TEST_TOKEN }}
PYPI_TEST_TOKEN: ${{ secrets.PYPI_TEST_TOKEN }}
- name: Upload to PyPi prod
run: make release-prod
env:
PYPI_USERNAME: __token__
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

sync_master:
needs: upload
runs-on: ubuntu-latest
Expand All @@ -66,5 +66,5 @@ jobs:
# If version matches CHANGELOG and pyproject.toml
# If it passes all checks, successfully releases to test and prod
# Then sync up master with latest source code release
# where commit message will be Release notes title
# where commit message will be Release notes title
run: git push origin HEAD:refs/heads/master --force