Skip to contents

The functions creates a pkgdown-netlify-preview.yaml action in the .github/workflows directory. The action follows the standard pkgdown publishing to gh-pages in the event of a merge into main branch but can also be set up to publish internal PR previews to Netlify.

Usage

use_hubdev_pkgdown_action(remove_std = TRUE)

Arguments

remove_std

Logical. Whether to remove the standard pkgdown action if it exists.

Details

To activate Netlify Previews, you must:

See pkgdown docs section on PR previews for more details.