diff --git a/.github/workflows/python-publish-headless.yml b/.github/workflows/python-publish-headless.yml index 706b442..0dffcbc 100644 --- a/.github/workflows/python-publish-headless.yml +++ b/.github/workflows/python-publish-headless.yml @@ -2,7 +2,9 @@ # with the new trusted publishing by https://github.com/marketplace/actions/pypi-publish name: Upload Python Package (headless) -on: workflow_dispatch +on: + release: + types: [published] permissions: contents: read diff --git a/README.md b/README.md index 5b671bb..6c43e34 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,13 @@ or `pip` to install `stitching` from pip install stitching ``` +for server (headless) environments (such as Docker, cloud environments etc.) +use `stitching-headless` + +```bash +pip install stitching-headless +``` + ## Usage ### Python CLI