diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2021-10-17 08:44:42 -1000 |
---|---|---|
committer | Matthew Peveler <matt.peveler@gmail.com> | 2021-10-17 08:44:42 -1000 |
commit | e3a23173e48a2cc893c5d6d9e57080126f775e8f (patch) | |
tree | 15e29110261af6b8d8a85d4a534ebfccdf2f426a | |
parent | 4667219e473a24e8e645eb9b9fb0a7ddba322f44 (diff) | |
download | asciidoc-py3-e3a23173e48a2cc893c5d6d9e57080126f775e8f.tar.gz |
Add step to upload to pypi during release workflow
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
-rw-r--r-- | .github/workflows/release.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79e2421..1150820 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,12 @@ jobs: asset_name: asciidoc-${{ github.event.release.tag_name }}.tar.gz asset_content_type: application/gzip + - name: Publish a Python distribution to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} + # - name: Update Homebrew formula # uses: dawidd6/action-homebrew-bump-formula@v3 # with: |