mirror of
https://github.com/mvt-project/mvt.git
synced 2026-09-23 01:40:43 +02:00
Enable automated PyPI deployments for tagged releases (#943)
* Limit PyPi deploys to tag relaeses * Remove unnecessary tests and docs from sdist build
This commit is contained in:
@@ -34,6 +34,7 @@ jobs:
|
||||
publish:
|
||||
if: github.ref_type == 'tag'
|
||||
runs-on: ubuntu-latest
|
||||
environment: pypi # only tag refs may deploy; the PyPI trusted publisher requires it
|
||||
permissions:
|
||||
id-token: write # PyPI trusted publishing
|
||||
steps:
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
prune tests
|
||||
prune docs
|
||||
prune .github
|
||||
exclude uv.lock Dockerfile* mkdocs.yml .readthedocs.yaml .safety-policy.yml .python-version .gitignore Makefile
|
||||
Reference in New Issue
Block a user