Skip to content

What is triggering the github "Deployments" to appear in my repo? #207

Answered by webknjaz
couling asked this question in Q&A
Discussion options

You must be logged in to vote

The environment: setting in the job does that. Refer to GitHub's docs on cleaning them up. They could have different URLs with versions if you specify those.

If you drop the environment from the workflow, you'd have to allow any environment to publish, on the PyPI side, in the Trusted Publishing setup. You'd lose the ability to protect your publishing job with required reviews (a GH button click), though.

Here's an example of what the deployments look like if you use unique/versioned URLs: https://github.com/cherrypy/cheroot/deployments/pypi

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by webknjaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants