secret set Create or update GitHub secrets from the command…
Create or update GitHub secrets from the command line. More information: https://cli.github.com/manual/gh_secret_set.
gh secret set {{name}}
gh secret set {{name}} < {{path/to/file}}
gh secret set {{name}} --body {{value}} --repo {{owner}}/{{repository}}
gh secret set {{name}} --org {{organization}} --repos "{{repository1,repository2,...}}"
gh secret set {{name}} --org {{organization}} --visibility {{all|private|selected}}