Imgflip Logo Icon

triggerpaul

triggerpaul | GitHub Actions:
Use ${{ env.THING }} for workflow env vars,
but use ${{ vars.THING }} for GitHub Environments vars,
and obviously use ${{ secrets.THING }} for secrets.
Then of course there are all the ${{ github.THING }} context vars,
which can also be called as shell vars like $GITHUB_THING.
Also, if you need the git branch name, you'll have to use ${{ github.ref_name }}, ${{ github.head_ref}}, or maybe {{branch}},
depending on whether this is a push, a pull request, or some docker/metadata-action thing. It's not that hard. | image tagged in triggerpaul | made w/ Imgflip meme maker
40 views Made by maobsxsv 2 weeks ago in fun
triggerpaul memeCaption this Meme
triggerpaul memeCaption this Meme
Created with the Imgflip Meme Generator
IMAGE DESCRIPTION:
GitHub Actions: Use ${{ env.THING }} for workflow env vars, but use ${{ vars.THING }} for GitHub Environments vars, and obviously use ${{ secrets.THING }} for secrets. Then of course there are all the ${{ github.THING }} context vars, which can also be called as shell vars like $GITHUB_THING. Also, if you need the git branch name, you'll have to use ${{ github.ref_name }}, ${{ github.head_ref}}, or maybe {{branch}}, depending on whether this is a push, a pull request, or some docker/metadata-action thing. It's not that hard.