Create or update a repository variable.
Section: GitHub Actions and Workflows
Set repository variable
bash
bash
gh variable set APP_ENV --body productionExplanation
Create or update a repository variable.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing GitHub Actions and Workflows