Skip to content

Commit

Permalink
Update github workflow to publish to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
1Blademaster committed Mar 25, 2023
1 parent 4f9aa99 commit 469f6b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release_to_pypi.yml
@@ -1,4 +1,4 @@
name: Publish ${package_name} to PyPI / GitHub
name: Publish timer-cli to PyPI / GitHub

on:
push:
Expand Down Expand Up @@ -26,10 +26,10 @@ jobs:
- name: Install venv
run: poetry install

- run: poetry config repositories.testpypi https://test.pypi.org/legacy/
- run: poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_KEY }}
- run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}"

- name: Publish package
run: poetry publish --build -r testpypi
run: poetry publish --build

- name: Create GitHub Release
id: create_release
Expand Down

0 comments on commit 469f6b7

Please sign in to comment.