Skip to content

Commit

Permalink
Use PyPA publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvem committed May 24, 2023
1 parent bf15540 commit 95240b8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,15 @@ jobs:
poetry run flake8 .
poetry run black --check .
poetry run isort -c .
- name: deploy
- name: build package
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry build
poetry publish -r test-pypi
poetry publish
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

build_docs:
needs: build_and_publish_pypi
Expand Down

0 comments on commit 95240b8

Please sign in to comment.