Skip to content

Commit 967d86e

Browse files
author
Tom McCarthy
authored
fix: correct env var name for publish to pypi test (#69)
1 parent 3785b1d commit 967d86e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ name: Publish to PyPi
2121

2222
on:
2323
release:
24-
types: [published]
24+
types: [published]
2525

2626
jobs:
2727
upload:
@@ -50,13 +50,13 @@ jobs:
5050
run: make release-test
5151
env:
5252
PYPI_USERNAME: __token__
53-
PYPI_TOKEN: ${{ secrets.PYPI_TEST_TOKEN }}
53+
PYPI_TEST_TOKEN: ${{ secrets.PYPI_TEST_TOKEN }}
5454
- name: Upload to PyPi prod
5555
run: make release-prod
5656
env:
5757
PYPI_USERNAME: __token__
5858
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
59-
59+
6060
sync_master:
6161
needs: upload
6262
runs-on: ubuntu-latest
@@ -66,5 +66,5 @@ jobs:
6666
# If version matches CHANGELOG and pyproject.toml
6767
# If it passes all checks, successfully releases to test and prod
6868
# Then sync up master with latest source code release
69-
# where commit message will be Release notes title
69+
# where commit message will be Release notes title
7070
run: git push origin HEAD:refs/heads/master --force

0 commit comments

Comments
 (0)