View source: R/setup_github_actions.R
setup_github_actions | R Documentation |
This function creates a Github Actions workflow in ".github/workflows/altdoc.yaml". This workflow will automatically render the website using the setup specified in the folder "altdoc" and will push the output to the branch "gh-pages".
setup_github_actions(path = ".")
path |
Path to the package root directory. |
No value returned. Creates the file ".github/workflows/altdoc.yaml"
if (interactive()) {
setup_github_actions()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.