Skip to content

Commit

Permalink
Use PyPi API token since authorized publisher deployment isn't working
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarrollsmith committed Apr 23, 2024
1 parent 2e5d722 commit add6536
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ jobs:
- name: Install and configure Poetry
uses: snok/install-poetry@v1
- name: Publish to PyPi
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
poetry publish --build
poetry publish --build -u __token__ -p $PYPI_TOKEN
if [ $? -ne 0 ]; then
echo "Warning: Version has not been incremented. No new version published."
fi
fi
4 changes: 4 additions & 0 deletions News
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@

- Updated dependencies

- Removed deprecated pkg_resources import

- Fixed a problem with pyproject.toml that was breaking CI/CD

- Implemented automated PyPi deployment with GitHub Actions

## Version 1.1.0

- Implemented response mocking during unit tests
Expand Down

0 comments on commit add6536

Please sign in to comment.