Skip to content

Commit

Permalink
fix: publish to GH releases first
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Nov 26, 2024
1 parent f9ca46e commit 91bd502
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@ jobs:
git_committer_name: "cfl-bot"
git_committer_email: "[email protected]"

- name: 🚀 Publish to PyPI
uses: pypa/[email protected]
if: steps.release.outputs.released == 'true'
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}
# repository-url: https://pypi.org/p/codeforlife

- name: 🚀 Publish to GitHub Releases
uses: python-semantic-release/[email protected]
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.CFL_BOT_GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }}

- name: 🚀 Publish to PyPI
uses: pypa/[email protected]
if: steps.release.outputs.released == 'true'
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}
# repository-url: https://pypi.org/p/codeforlife

0 comments on commit 91bd502

Please sign in to comment.