GitHub Pages Error
Closed this issue · 2 comments
g4brielvs commented
In R when using pkgdown, and after running use_pkgdown_github_pages() we're getting the below error.
✔ Writing '_pkgdown.yml'
• Modify '_pkgdown.yml'
✔ Activating GitHub Pages for 'worldbank/blackmarbler'
Error in `gh_process_response()`:
! GitHub API error (404): Not Found
✖ URL not found: <https://api.github.com/repos/worldbank/blackmarbler/pages>
ℹ Read more at <https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site>
Run `rlang::last_trace()` to see where the error occurred.
g4brielvs commented
@ramarty I just enabled GitHub Pages, which shoudl solve this issue. However, another issue came up.
ramarty commented
@g4brielvs Great thanks!
I'm now seeing https://worldbank.github.io/blackmarbler/
Although I'm still seeing a similar 404 error, so I'm having trouble updating
✔ Writing '_pkgdown.yml'
• Modify '_pkgdown.yml'
✔ GitHub Pages is publishing from:
• URL: 'https://worldbank.github.io/blackmarbler/'
• Branch: 'gh-pages'
• Path: '/'
✔ Saving 'r-lib/actions/examples/pkgdown.yaml@v2' to '.github/workflows/pkgdown.yaml'
• Learn more at <https://github.com/r-lib/actions/blob/v2/examples/README.md>.
✔ Recording 'https://worldbank.github.io/blackmarbler/' as site's url in '_pkgdown.yml'
✔ Adding 'https://worldbank.github.io/blackmarbler/' to URL field in DESCRIPTION
✔ Setting 'https://worldbank.github.io/blackmarbler/' as homepage of GitHub repo 'worldbank/blackmarbler'
Error in `gh_process_response()`:
! GitHub API error (404): Not Found
✖ URL not found: <https://api.github.com/repos/worldbank/blackmarbler>
ℹ Read more at <https://docs.github.com/rest/repos/repos#update-a-repository>
Run `rlang::last_trace()` to see where the error occurred.