Skip to content

Commit

Permalink
ci: run poetry steps directly rather than from Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mblackgeo committed Mar 30, 2022
1 parent 94d78d1 commit af6c4f4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to TestPyPI
run: /
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.test-pypi ${{ secrets.TEST_PYPI_API_TOKEN }}
make test-release
poetry publish --build -r testpypi
- name: Test install from TestPyPI
run: |
Expand All @@ -89,6 +90,6 @@ jobs:
flask-cognito-lib
- name: Publish to PyPI
run: /
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
make release
poetry publish

0 comments on commit af6c4f4

Please sign in to comment.