Skip to content

Commit

Permalink
fix: correct env var name for publish to pypi test (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom McCarthy authored Jun 8, 2020
1 parent 3785b1d commit 967d86e
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 967d86e

Please sign in to comment.