gh variable
Manage GitHub Actions and Dependabot variables. More information: https://cli.github.com/manual/gh_variable.
- List variables for the current repository:
gh variable
- List variables for a specific organization:
gh variable
- Get a variable for the current repository:
gh variable get
- Set a variable for the current repository (user will be prompted for the value):
gh variable set
- Set a variable for a deployment environment in the current repository:
gh variable set
- Set an organization variable visible to all repositories:
gh variable set all
- Set multiple variables from a dotenv file:
gh variable set
- Delete a variable for the current repository:
gh variable delete
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
