env_var | R Documentation |
Add, get or set Circle CI environment variable(s) for a repo on Circle CI.
get_env_vars(
name = NULL,
repo = github_info()$name,
user = github_info()$owner$login,
vcs_type = "gh",
api_version = "v2"
)
set_env_var(
var,
repo = github_info()$name,
user = github_info()$owner$login,
vcs_type = "gh",
api_version = "v2",
quiet = FALSE
)
delete_env_var(
var,
repo = github_info()$name,
user = github_info()$owner$login,
vcs_type = "gh",
api_version = "v2",
quiet = FALSE
)
name |
|
repo |
|
user |
|
vcs_type |
|
api_version |
|
var |
|
quiet |
|
An object of class circle_api
with the following elements
content
(queried content)
path
(API request)
response
(HTTP response information)
## Not run:
# get env var
get_env_vars()
# set env var
set_env_var(var = list("foo" = "123"))
# delete env var
delete_env_var("foo")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.