diff --git a/.gitea/workflows/quartz-build-publish.yaml b/.gitea/workflows/quartz-build-publish.yaml index 7552ec3..d3a7b89 100644 --- a/.gitea/workflows/quartz-build-publish.yaml +++ b/.gitea/workflows/quartz-build-publish.yaml @@ -3,7 +3,7 @@ run-name: Quartz Publisher for Obsidian on: [push] jobs: - Clone-Repos: + Quartz-Build-Publish: runs-on: ubuntu-latest steps: - name: Check out repository code @@ -16,7 +16,7 @@ jobs: mkdir content && find . -type d,f -maxdepth 1 -regextype posix-extended ! -regex '^\.$|\./(\.git|\.obsidian|\.trash|content).*' -exec mv {} content/ \; - - name: Clone Quartz, build + - name: Clone Quartz, move content run: | git clone https://github.com/jackyzha0/quartz.git mv content/* quartz/content @@ -52,6 +52,10 @@ jobs: run: npx quartz plugin install working-directory: quartz/ - - name: Check types and style - run: npm run check - working-directory: quartz/ \ No newline at end of file + - name: Quartz Create + run: npx quartz create --template $QUARTZ_CREATE_TEMPLATE --baseUrl $QUARTZ_CREATE_BASEURL + working-directory: quartz/ + + - name: Quartz Build + run: npx quartz build + working-directory: quartz/