gh gpg-key add

Add a GPG key to your GitHub account

gh gpg-key add [<key-file>]

See also