Skip to content

Set write permission for action to deploy pkgdown site #1813

@dmurdoch

Description

@dmurdoch

I just moved an old project to Github, and usethis made the setup really easy. Thanks!

One issue arose when I tried to add a pkgdown site: by default Github actions don't have write permission that they need to deploy the site.

I don't know if usethis could make the setting change, but if not, it would be helpful to point users to instructions for doing it themselves.

I think this issue gives a reprex and the manual solution in the comments: r-lib/pkgdown#2279 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs 💡documentation, news, vignettes, website, etcgitgit, GitHub, and CI in generalwipwork in progress

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions