Interview Prep/CI/CD/Rapid-Fire Commands

Rapid-fire: how do you list and manage GitHub secrets and variables via CLI?

BeginnerProductionRapid-Fire Commands
Answer
gh secret set DB_PASSWORD --env production --body "$VALUE"
gh secret list --env production
gh variable set AWS_REGION --body ap-south-1
gh variable list
gh secret delete OLD_TOKEN
All CI/CD questions

More on Rapid-Fire Commands