Difference between revisions of "Gh secret set"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
* https://cli.github.com/manual/gh_secret_set
 
* https://cli.github.com/manual/gh_secret_set
  
  gh secret set MYSECRET < myfile.txt
+
  # Paste secret value for the current repository in an interactive prompt
 
  [[gh secret]] set your-secret-name
 
  [[gh secret]] set your-secret-name
 +
 +
 +
[[gh secret]] set MYSECRET < myfile.txt
 +
  
  
Line 11: Line 15:
  
 
[[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]

Advertising: