From 967d86e3ec4a35eb72fef3e46d48b1d6836f875e Mon Sep 17 00:00:00 2001 From: Tom McCarthy Date: Mon, 8 Jun 2020 13:26:32 +0200 Subject: [PATCH] fix: correct env var name for publish to pypi test (#69) --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index be1dc46af69..4a2bed27deb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,7 @@ name: Publish to PyPi on: release: - types: [published] + types: [published] jobs: upload: @@ -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 @@ -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