How to publish LogSeq to GitHub Pages

tags:: #LogSeq, #howto, #Github/Pages, #Github Actions

  • Check your #LogSeq folder into a Git repo
  • Use the logseq-publish action by Pengx17 in a GitHub Action
  • Turn on GH Pages publishing for the repo
  • Flip the “all pages public when publishing” in Settings > Editor OR set public:: true on individual pages
    • You can set public to false to selectively have private pages
  • Whenever you git commit, the action will trigger and build and publish your site to GH Pages
  • You can also Publish LogSeq from Mobile
    • Technically this is also being synced via iCloud and accessible on your desktop for you to view and edit using the LogSeq app there