step_setup_ssh | R Documentation |
Adds to known hosts, installs private key, and tests the connection.
Chaining step_install_ssh_keys()
, step_add_to_known_hosts()
and step_test_ssh()
.
use_tic()
encodes a private key as an environment variable for use with
this function.
step_setup_ssh(
private_key_name = "TIC_DEPLOY_KEY",
host = "github.com",
url = paste0("git@", host),
verbose = ""
)
private_key_name |
|
host |
|
url |
|
verbose |
|
Other steps:
step_add_to_drat()
,
step_add_to_known_hosts()
,
step_build_pkgdown()
,
step_do_push_deploy()
,
step_hello_world()
,
step_install_pkg
,
step_install_ssh_keys()
,
step_push_deploy()
,
step_run_code()
,
step_session_info()
,
step_setup_push_deploy()
,
step_test_ssh()
,
step_write_text_file()
dsl_init()
get_stage("script") %>%
add_step(step_setup_ssh(host = "gitlab.com"))
dsl_get()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.