HEIGE-PCloud/Notion-Hugo

Failed to get site pages.

morristai opened this issue ยท 3 comments

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! ๐Ÿ‘

https://github.com/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?

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

actions/configure-pages#48

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