Skip to content

Commit

Permalink
Add pypi token
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Aug 21, 2020
1 parent 654e2d9 commit cd874d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd874d6

Please sign in to comment.