Interview Prep/GitHub Actions/Rapid-fire Commands & Syntax

Rapid-fire: secrets, variables and caches with `gh`.

BeginnerConceptRapid-fire Commands & Syntax
Answer
gh secret list                    # names only, values never readable
gh secret set API_KEY < key.txt
gh secret set API_KEY --env prod --body "$V"
gh secret delete API_KEY
gh variable list --env prod
gh variable get AWS_REGION
gh cache list --key npm-
gh cache delete --all
All GitHub Actions questions Roadmap: GitHub Actions

More on Rapid-fire Commands & Syntax