From a1ef85b355acbab01b5df3451e2d51b8f04d51ef Mon Sep 17 00:00:00 2001 From: Daniel Alejandro Gallegos Date: Sat, 12 Aug 2023 18:29:31 -0400 Subject: [PATCH] Auto saved by Logseq --- ...ges and also publish it to the internet.md | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/pages/how to upload a logseq graph that's synchronized to github pages and also publish it to the internet.md b/pages/how to upload a logseq graph that's synchronized to github pages and also publish it to the internet.md index 33fb04f..ad2f20a 100644 --- a/pages/how to upload a logseq graph that's synchronized to github pages and also publish it to the internet.md +++ b/pages/how to upload a logseq graph that's synchronized to github pages and also publish it to the internet.md @@ -9,5 +9,25 @@ tags:: #seed #infrastructure #github #logseq sync - i keep my notes in [this repo](https://github.com/TacoWolf/garden). - i use [[logseq]]'s auto commit functionality to do the heavy lifting for me. - # set up the github auto publish file - - there's a [github action in the marketplace](https://github.com/marketplace/actions/logseq-publish-spa) that'll [[take you to the mountain]] + - there's a [github action in the marketplace](https://github.com/marketplace/actions/logseq-publish-spa); that'll [[take you to the mountain]]. you can just copy and paste the one that's there, no tweaking needed. here's a copy just in case: + - ``` + on: [push] + + permissions: + contents: write + jobs: + test: + runs-on: ubuntu-latest + name: Publish Logseq graph + steps: + - uses: actions/checkout@v3 + - uses: logseq/publish-spa@v0.2.0 + - name: add a nojekyll file # to make sure asset paths are correctly identified + run: touch $GITHUB_WORKSPACE/www/.nojekyll + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: www + ``` + - - # set up the \ No newline at end of file