gh secret set
Create or update GitHub secrets. More information: https://cli.github.com/manual/gh_secret_set.
- Set a secret for the current repository (user will be prompted for the value):
gh secret set
- Set a secret from a file for the current repository:
gh < secret set
- Set a secret for a specific repository:
gh secret set /
- Set an organization secret for specific repositories:
gh secret set ""
- Set an organization secret with a specific visibility:
gh secret set
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
