Learn R Programming

tic (version 0.2.13.9017)

step_install_ssh_keys: Step: Install an SSH key

Description

Writes a private SSH key encoded in an environment variable to a file in ~/.ssh. Only run in non-interactive settings and if the environment variable exists and is non-empty.

Usage

step_install_ssh_keys(name = "id_rsa")

Arguments

name

[string] Name of the environment variable and the target file, default: "id_rsa".

See Also

travis::use_travis_deploy(), travis::use_tic()

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_push_deploy, step_run_code, step_setup_push_deploy, step_setup_ssh, step_test_ssh, step_write_text_file

Examples

Run this code
# NOT RUN {
dsl_init()

get_stage("before_deploy") %>%
  add_step(step_install_ssh_keys())

dsl_get()
# }

Run the code above in your browser using DataLab