gh-secret-set: add page (#5996)

This commit is contained in:
Axel Navarro
2021-05-21 07:41:45 -03:00
committed by GitHub
parent a96dddd224
commit b0cedebfc1
2 changed files with 28 additions and 4 deletions

View File

@@ -15,14 +15,14 @@
`gh secret list --repo {{owner}}/{{repository}}`
- Set a secret for the current repository (user will be prompted for the value):
`gh secret set {{name}}`
- Set a secret from a file for the current repository:
`gh secret set {{name}} < {{path/to/file}}`
- Set a secret for a specific repository:
`gh secret set {{name}} --body {{value}} --repo {{owner}}/{{repository}}`
- Set an organization secret for specific repositories:
`gh secret set {{name}} --org {{organization}} --repos {{repository1,repository2}}`