Set Up Build Deployment Between Circle CI And GithubSource:
Creates a Circle CI "user-key" (= SSH key pair) if none exists yet to enable deployment from Circle CI builds to GitHub.
use_circle_deploy( repo = github_info()$name, user = github_info()$owner$login, quiet = FALSE )
The repository slug to use. Must follow the "
The username for the repository. By default queried using
TRUE, console output is suppressed.
The easiest way to achieve a deployment from Circle CI builds to a Github repo is by creating a so called "user-key" (i.e. an SSH key pair) on Circle CI.
use_circle_deploy() tries to be smart by exiting early if such a key is
If the repo has not been enabled yet on Circle CI, please run
Also to be able to authenticate to Github in the first place a personal
access token needs to be set (via env var
usethis::github_token() can be used to check if one is already set.
If none is set, this function will prompt you to create one.