Difference between revisions of "Gh secret set"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | * https://cli.github.com/manual/gh_secret_set | ||
+ | |||
+ | # Paste secret value for the current repository in an interactive prompt | ||
+ | [[gh secret]] set your-secret-name | ||
+ | |||
+ | |||
+ | [[gh secret]] set MYSECRET < myfile.txt | ||
− | |||
== See also == | == See also == | ||
+ | * {{gh secret}} | ||
* {{gh}} | * {{gh}} | ||
[[Category:GitHub]] | [[Category:GitHub]] | ||
+ | [[Category:Secrets]] |
Latest revision as of 19:41, 7 February 2024
# Paste secret value for the current repository in an interactive prompt gh secret set your-secret-name
gh secret set MYSECRET < myfile.txt
See also[edit]
- GitHub secrets:
gh secret [ list | set ]
gh [ auth | repo | secret | issue | workflow | webhook | gh environment | actions | run ] gh auth login, gh pr create, gh --help
Advertising: