From cd874d67ac4e7895d1f611082ec7d72d2cb16c6b Mon Sep 17 00:00:00 2001 From: Michael Boyle Date: Fri, 21 Aug 2020 17:47:29 -0400 Subject: [PATCH] Add pypi token --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e76e060..52855b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -99,6 +99,10 @@ jobs: - name: Publish to PyPI if: "!contains(github.event.head_commit.message, '[no pypi]')" shell: bash -l {0} + env: + # Get key from https://pypi.org/manage/account/token/, and + # copy it to Github > repo > Settings > Secrets + POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}: run: | python -m poetry build python -m poetry install