Skip to content

ci: configures publishing to the test pypi repo #3

ci: configures publishing to the test pypi repo

ci: configures publishing to the test pypi repo #3

Workflow file for this run

name: Pypi Publish

Check failure on line 1 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

`commit` is not a valid event name
on: commit
#on:
# release:
# types:
# - published
env:
HATCH_INDEX_AUTH: ${{ secrets.HATCH_INDEX_AUTH }}
jobs:
publish:
name: Pypi Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install hatch
run: pip install hatch
- name: Publish to Pypi
run: |
hatch build
hatch publish -r test -n