Skip to content

Commit

Permalink
Remove unnecessary step and update PyPI API token
Browse files Browse the repository at this point in the history
  • Loading branch information
shauneccles committed Jan 19, 2024
1 parent 20410e5 commit dea96d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish-release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
- name: Create prod.env
run: |
echo "IS_RELEASE = true" >> prod.env
- name: Install dependencies
run: |
poetry install
- name: Build a binary wheel and source tarball
run: |
poetry build
Expand All @@ -41,7 +38,7 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.SHAUNS_TEST_PYPI_API }}
password: ${{ secrets.PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
Expand Down

0 comments on commit dea96d1

Please sign in to comment.