From 89cb0a21b60e66a0e29fcbbf5689a20b9c21894e Mon Sep 17 00:00:00 2001 From: Seokseong Jeon <6747391+somidad@users.noreply.github.com> Date: Thu, 14 Dec 2023 23:03:01 +0900 Subject: [PATCH] Create publish.yml --- .github/workflows/publish.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..820ab04 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,22 @@ +on: + push: + branches: + - logseq + +permissions: + contents: write +jobs: + test: + runs-on: ubuntu-latest + name: Publish Logseq graph + steps: + - uses: actions/checkout@v3 + - uses: logseq/publish-spa@v0.3.0 + - name: Add a nojekyll file # to make sure asset paths are correctly identified + run: touch $GITHUB_WORKSPACE/www/.nojekyll + - name: Add CAME file + run: echo telecom.jeon.engineer > $GITHUB_WORKSPACE/www/CNAME + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: www