Skip to content

What is the purpose of the env vars being set in the README.md example #198

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

You must be logged in to vote

These are not environment variables, but GitHub Environments. It's a concept the platform has for describing where things are being deployed to.
The URL is shown on GH UI in various places. The name is just an identifier.
The environments can be automatically created on the first use or through the repository settings. There, in the settings, it's possible to apply various protection rules or scope secrets. I normally recommend setting up required reviews and a cool down timer there — this pauses the workflow right before starting the job that needs said environment and awaits for you to click on the button allowing it to run. When this happens, you also get an email notification.
Another…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MarkCallow
Comment options

@webknjaz
Comment options

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