Closed HarvsG closed 10 months ago
Ok I fixed it by manually adding a config.edn This requirement is not documented https://github.com/HarvsG/logseq/commit/eba451114740548a433b7968cf55d3f50eb66ade
Now i'm getting a github 404 https://notes.codingdoctor.co.uk/ When I open index.html locally I have no problem
Ok I had incorrectly selected github actions in this drop down, selecting Deploy from branch fixed it.
However this seems to circumvent .github/workflows/publish.yml which presumably means I'm missing out on features.
Ok, I've realised the error of my ways. I don't need to do this and export public pages. This workflow is not for me because I am not a github premium subscriber and I don't want my graph to be in a public repository. So instead I do a manual export and then just host it as a webpage.
I don't need to do this and export public pages.
Hi. Correct. This github action just takes your graph and automatically exports for you
This workflow is not for me because I am not a github premium subscriber and I don't want my graph to be in a public repository.
If you come end up using a free solution that allows publishing private repositories, let me know and I can mention it in the readme
What Happened?
I tried to publish my graph:
But when the workflow ran I got this error
Similar issue
Reproduce the Bug
I mostly followed [[this tutorial](https://docs.logseq.com/#/page/publishing%20(desktop%20app%20only)](https://docs.logseq.com/#/page/publishing%20(desktop%20app%20only)
Created a new public github repo https://github.com/HarvsG/logseq
I enabled github pages
Created a new folder
C:\Users\{user}\Documents\Coding\repositories\logseq-public
3 dots -> settings -> editor -> All pages public when publishing to
off
Confirm at least one page is marked
public:: true
In logseq 3 dots -> Export Graph -> Export public pages and selected the above foler
Inside
logseq-public
runmkdir -p .github/workflows/ && touch .github/workflows/publish.yml
run
nano .github/workflows/publish.yml
From https://github.com/logseq/publish-spa?tab=readme-ov-file#usage
Inside
logseq-public
I rangit init
In digital ocean I made a cname record from
notes.codingdoctor.co.uk
toharvsg.github.io.
_github-pages-challenge-harvsg.codingdoctor.co.uk
was already configured from another projectIn the github pages dashboard
Expected Behavior
The workflow runs correctly
Desktop or Mobile Platform Information
Windows 11 desktop 0.10.3