Skip to content

setup_website() re-tracks docs/ even when deployment is via GitHub Actions #104

Description

@larnsce

Enhancement request, observed in washr 1.0.2.

setup_website() removes docs from .gitignore, which fits the openwashdata workflow of committing the built site to main. When a package deploys with the standard pkgdown GitHub Actions workflow instead (build on push, deploy to gh-pages), docs/ should stay ignored, and users have to re-add the ignore entry after every setup_website() run.

Suggestion: either an argument such as setup_website(track_docs = TRUE) defaulting to the current behaviour, or skip the .gitignore edit when .github/workflows/pkgdown.yaml exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions