Skip to content

Add explanation about Github workflow permissions in chapter 20 #977

@matanhakim

Description

@matanhakim

Section 20.2 declares:

After successful execution of use_pkgdown_github_pages(), you should be able to visit your new site at the URL displayed in the output above.

Nevertheless, there is one more step needed for the website to be properly published.
One should go to its Github repo, and then:

  1. Settings
  2. Actions
  3. General
  4. Scroll down to "Workflow permissions"
  5. Check "Read and write permissions"

Without this, my Github Actions kept failing.
Only after looking my error online I found this solution, and now it works.
I think this should be added to save valuable time for first-time package developers like myself.

Thanks again for the book!
It facilitated my first package, rtlr - you're welcome to check it out!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions