Skip to content

Commit

Permalink
Fix deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankSpruce committed Jan 10, 2025
1 parent 572c0eb commit 6d382f8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
jobs:
build-n-publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/gersemi
permissions:
id-token: write

steps:
- name: Checkout repository
Expand Down Expand Up @@ -35,11 +40,6 @@ jobs:
--outdir dist/
.
- name: Publish distribution package to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
repository_url: https://test.pypi.org/legacy/

- name: Publish distribution package to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 6d382f8

Please sign in to comment.