View source: R/set_github_action.R
set_github_action | R Documentation |
Copies the docker-build.yml
file provided by the shiny2docker
package
into the .github/workflows/
directory within the specified base directory.
This GitHub Action configuration is designed to build a Docker image and push the
created image to the GitHub Container Registry.
set_github_action(path)
path |
A character string specifying the base directory where the
|
A logical value indicating whether the file was successfully copied
(TRUE
) or not (FALSE
).
# Copy the docker-build.yml file to the .github/workflows/ directory in a temporary folder
set_github_action(path = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.