gh repo deploy-key add <key-file>

Add a deploy key to a GitHub repository

Arguments

NameDescription
key-filePath to the public key file

Options

NameDescription
-w, --allow-writeAllow write access for the key
-t, --title <string>Title of the new key