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

Failed to get site pages. #118

Closed
morristai opened this issue Apr 30, 2023 · 3 comments
Closed

Failed to get site pages. #118

morristai opened this issue Apr 30, 2023 · 3 comments

Comments

@morristai
Copy link

morristai commented Apr 30, 2023

I followed all the steps inside README, but failed on CD when getting the Notion page content.
Already check:

  1. Token already in GitHub Action secret.
  2. share link added into the notion-hugo.config.ts.
  3. add integration into shared page.

(However, I noticed that Notion changed how they share the page with integrated tools, like the picture below, so I added Notion-Hugo to the connection. I don't know if these changes caused the failure.)
image

BTW, thanks for the great work! 👍

@HEIGE-PCloud
Copy link
Owner

https:/morristai/Notion-Hugo/actions/runs/4844988107/jobs/8633617001

It seems to fail at the setup-pages step... Have you enabled GitHub Pages for your repository?

@HEIGE-PCloud
Copy link
Owner

GITHUB_TOKEN is no longer allowed to automatically enable GitHub Pages... I probably need to update the README.

actions/configure-pages#48

@morristai
Copy link
Author

Thanks @HEIGE-PCloud, sorry for my mistake. Now it's solved and works fine! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants