| deploy_repo | R Documentation |
Deploy a git repository directly to Posit Connect,
using Posit Connect's "pull-based" "git-polling" method of deployment.
deploy_repo(
client,
repository,
branch,
subdirectory,
name = create_random_name(),
title = name,
...
)
deploy_repo_enable(content, enabled = TRUE)
deploy_repo_update(content)
client |
A Connect R6 object |
repository |
The git repository to deploy |
branch |
The git branch to deploy |
subdirectory |
The subdirectory to deploy (must contain a |
name |
The "name" / unique identifier for the content. Defaults to a random character string |
title |
The "title" of the content |
... |
Additional options for defining / specifying content attributes |
content |
An R6 Content object (i.e. the result of |
enabled |
Whether Connect will enable automatic polling for repository updates |
deploy_repo_enable() enables (or disables) Posit Connect's git polling for a piece of content
deploy_repo_update() triggers an update of the content from its git
repository, if any are present
A ContentTask object, for use with poll_task() (if you want to follow the logs)
connectapi::poll_task, connectapi::repo_check_branches, connectapi::repo_check_manifest_dirs
Other content functions:
content_delete(),
content_item(),
content_title(),
content_update(),
create_random_name(),
dashboard_url(),
delete_thumbnail(),
delete_vanity_url(),
get_associations(),
get_bundles(),
get_environment(),
get_image(),
get_job(),
get_jobs(),
get_log(),
get_thumbnail(),
get_vanity_url(),
git,
has_thumbnail(),
lock_content(),
permissions,
search_content(),
set_image_path(),
set_integrations(),
set_run_as(),
set_thumbnail(),
set_vanity_url(),
swap_vanity_url(),
swap_vanity_urls(),
terminate_jobs(),
verify_content_name()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.