Learn R Programming

altdoc (version 0.5.0)

setup_github_actions: Create a Github Actions workflow

Description

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".

Usage

setup_github_actions(path = ".")

Value

No value returned. Creates the file ".github/workflows/altdoc.yaml"

Arguments

path

Path to the package root directory.

Examples

Run this code
if (interactive()) {
  setup_github_actions()
}

Run the code above in your browser using DataLab