worldbank / blackmarbler

Georeferenced Rasters and Statistics of Nighttime Lights from NASA Black Marble
https://worldbank.github.io/blackmarbler/
Other
16 stars 3 forks source link

GitHub Pages Error #1

Closed g4brielvs closed 9 months ago

g4brielvs commented 9 months ago

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 9 months ago

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

ramarty commented 9 months ago

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