Difference between revisions of "GitHub Environment variables"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* <code>[[GITHUB_ENV]]</code> | * <code>[[GITHUB_ENV]]</code> | ||
* <code>[[GITHUB_REF]]</code> | * <code>[[GITHUB_REF]]</code> | ||
+ | * <code>[[GITHUB_REF_NAME]]</code>, [[branch]] or [[tag]] in workflows triggered by <code>[[release]]</code> | ||
+ | * <code>[[GITHUB_REF_TYPE]]: [ branch | [[tag]] ]</code> | ||
== Related == | == Related == | ||
Line 9: | Line 11: | ||
* <code>[[github.event_name]]</code> | * <code>[[github.event_name]]</code> | ||
* <code>[[github.]]</code> | * <code>[[github.]]</code> | ||
+ | * <code>[[github.sha]]</code> | ||
+ | * <code>[[secrets.]]</code> | ||
== See also == | == See also == | ||
− | * {{GitHub}} | + | * {{GitHub variables}} |
+ | * {{GitHub Actions}} | ||
[[Category:GitHub]] | [[Category:GitHub]] |
Latest revision as of 19:49, 17 July 2023
GITHUB_ENV
GITHUB_REF
GITHUB_REF_NAME
, branch or tag in workflows triggered byrelease
GITHUB_REF_TYPE: [ branch | tag ]
Related[edit]
See also[edit]
- GitHub Environment variables:
GITHUB_ENV, GITHUB_REF, GITHUB_REF_NAME
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: