use_ghactions_deploy | R Documentation |
Creates a public-private key pair, adds the public key to the GitHub
repository via github_add_key()
, and stores the private key as a "secret"
in the GitHub repo.
use_ghactions_deploy(
path = usethis::proj_get(),
repo = get_repo_slug(remote),
key_name_private = "TIC_DEPLOY_KEY",
key_name_public = "Deploy key for GitHub Actions",
remote = "origin"
)
path |
|
repo |
|
key_name_private |
|
key_name_public |
|
remote |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.