Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Pages Error #1

Closed
g4brielvs opened this issue Dec 5, 2023 · 2 comments
Closed

GitHub Pages Error #1

g4brielvs opened this issue Dec 5, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@g4brielvs
Copy link
Member

g4brielvs commented Dec 5, 2023

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 g4brielvs added the bug Something isn't working label Dec 5, 2023
@g4brielvs g4brielvs self-assigned this Dec 5, 2023
@g4brielvs
Copy link
Member Author

g4brielvs commented Dec 5, 2023

@ramarty I just enabled GitHub Pages, which shoudl solve this issue. However, another issue came up.

@ramarty
Copy link
Contributor

ramarty commented Dec 5, 2023

@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.

@ramarty ramarty closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants