diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index a1db55bdb..74ff901a5 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -1,6 +1,6 @@ name: pypi on: - pull_request: + push: release: types: [released] @@ -28,7 +28,7 @@ jobs: - name: Build rez run: | - python -m build --sdist --wheel --outdir dist + python -m build --sdist --wheel --outdir dist . # Note that we don't need credentials. # We rely on https://docs.pypi.org/trusted-publishers/.