View source: R/cff-gha-update.R
| cff_gha_update | R Documentation |
This function installs a
GitHub Actions workflow in your
repository. The workflow
updates your CITATION.cff when any of these events occur:
You publish a new release of the package.
Your DESCRIPTION or inst/CITATION file is modified.
The workflow can be run manually.
cff_gha_update(path = ".", overwrite = FALSE)
path |
Project root directory. |
overwrite |
A logical value. If |
Workflow triggers can be modified. See Events that trigger workflows.
Invisible. This function is called for its side effects.
Keep ‘CITATION.cff’ up to date:
cff_git_hook
## Not run:
cff_gha_update()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.