Skip to content

Commit 96c6434

Browse files
authored
Merge pull request #7 from danlsn/6-fix-hatch-publich-github-action
fix: update publish workflow to use HATCH_INDEX_USER and HATCH_INDEX_…
2 parents e99d62a + e4a29e6 commit 96c6434

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454

5555
- name: Publish to PyPI with hatch
5656
env:
57-
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
57+
HATCH_INDEX_USER: ${{ secrets.HATCH_INDEX_USER }}
58+
HATCH_INDEX_AUTH: ${{ secrets.HATCH_INDEX_AUTH }}
5859
run: |
59-
export HATCH_INDEX_AUTH="__token__:$PYPI_API_TOKEN"
6060
echo "Publishing with hatch..."
61-
hatch publish dist/* --yes
61+
hatch publish

0 commit comments

Comments
 (0)