While all deployments based on producethis uses GitHub actions, this deployment type uses it exclusively, meaning that the code is also executed in an action. This puts some limits on the kind of project that can be deployed, since GHA doesn't provide a web server. Thus, only batch and static reports can be deployed in this way.
Usage
use_github_gha(
from = c("main", "master"),
result_branch = "gh-results",
output_dir = "output"
)
Arguments
- from
A character vector giving which branch(es) to publish from
- result_branch
The branch to push the content of
output_dir
to after the execution ends- output_dir
The directory any output from the execution is expected to end up in. Do note that it is the responsibility of the production code to actually write to this folder