Skip to content

Commit

Permalink
fix publish-pypi job
Browse files Browse the repository at this point in the history
resolves #129
  • Loading branch information
ITProKyle committed Sep 12, 2024
1 parent 8c359f0 commit 061771f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/project/sphinxcontrib.external-links
url: https://test.pypi.org/project/${{ github.event.repository.name }}
permissions:
id-token: write
steps:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ env:
jobs:
python-build:
uses: finleyfamily/workflows/.github/workflows/python.build.yml@master
publish-test-pypi:
publish-pypi:
name: 🚀 Publish 📦 To PyPI
if: github.event_name == 'push' && github.ref_name == 'master'
needs:
- python-build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/sphinxcontrib.external-links
url: https://pypi.org/project/${{ github.event.repository.name }}
permissions:
id-token: write
steps:
Expand Down

0 comments on commit 061771f

Please sign in to comment.