Skip to contents

Creates a minimal GitHub Actions workflow for deploying a {golem} app to Posit Connect via {rsconnect}. If needed, this function also creates a root app.R and .rscignore by calling add_positconnect_file(). The generated Posit Connect entrypoint uses {pkgload}, so {pkgload} is added to DESCRIPTION.

Usage

add_github_action(golem_wd = get_golem_wd(), open = TRUE)

Arguments

golem_wd

Path to the root of the package. Default is get_golem_wd().

open

Should the created file be opened?

Value

The path to the created workflow, invisibly.