Skip to contents

Add GitHub Actions

Usage

add_github_action(gha_name = NULL, overwrite = FALSE)

Arguments

gha_name

Short name of GitHub Action to add. Currently supports GitHub Action for Netlify deployment of testing version of pkgdown website ("netlify").

overwrite

Logical. Should an existing GitHub Action be overwritten? Default is FALSE.

Value

A GitHub Action YAML file of the specified workflow to be added in .github/workflows directory.

Examples

if (FALSE) add_github_action(gha_name = "netlify")