{"repo":"logseq/publish-spa","free":true,"listed":false,"github":"https://github.com/logseq/publish-spa","clone":"git clone https://github.com/logseq/publish-spa.git","description":"A github action and CLI to publish logseq graphs as a SPA app","language":"Clojure","stars":313,"topics":["github-actions","logseq","nbb","publish"],"license":"MIT","category":"cli-tools","readme_excerpt":"Description This is a github action to publish a Logseq graph as a publishing Single Page Application (SPA). This action can also be run as a CLI. NOTE : This repository currently only supports file graphs. While there is preliminary work to support DB graphs, this has been put on indefinite hold. At some point, this repository should point to https://github.com/logseq/og to make this more explicit. Usage Github Action To setup this action, enable github pages on your repository and add the file .github/workflows/publish.yml to your graph's github repository with the content: That's it! Your graph will publish on future git pushes by pushing to the gh-pages branch. Don't forget to configure your graph if you're not seeing the pages you expect to see. NOTE: The above example may not have the latest version of this action. See CHANGELOG.md for released versions. If you'd prefer to always be on the latest version of this action, use logseq/publish-spa@main but be careful as there could be breaking changes. Action Inputs This action takes the following inputs: This action has the following inputs: graph-directory Required: Root of the graph directory. Defaults to . . output-directory Required: Directory where graph is published. Defaults to www . version Required: Specifies the version of Logseq to build the frontend. This can be a git tag (version) or a specific git SHA. Defaults to 0.10.6 . Note: A version before 0.9.2 is not supported as Logseq started supporting this action w","default_branch":null,"files":null,"tree":[],"storefront":"/r/logseq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/logseq/publish-spa/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}