From 7b9bee7bdc3830d331ecdf885aa0b56086af0422 Mon Sep 17 00:00:00 2001 From: andus Date: Wed, 26 Aug 2026 09:54:09 -0400 Subject: [PATCH 1/7] Update .gitea/workflows/quartz-build-publish.yaml --- .gitea/workflows/quartz-build-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/quartz-build-publish.yaml b/.gitea/workflows/quartz-build-publish.yaml index 90cf690..081dda6 100644 --- a/.gitea/workflows/quartz-build-publish.yaml +++ b/.gitea/workflows/quartz-build-publish.yaml @@ -65,4 +65,4 @@ jobs: uses: cloudflare/wrangler-action@v4 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - command: pages deploy public --name=test1 + command: deploy public --name=test1 From 0af4d3b3cee612fb2daa6f3673ca6b48fae32858 Mon Sep 17 00:00:00 2001 From: andus Date: Wed, 26 Aug 2026 10:01:18 -0400 Subject: [PATCH 2/7] Update .gitea/workflows/quartz-build-publish.yaml --- .gitea/workflows/quartz-build-publish.yaml | 57 +++++++++++----------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/.gitea/workflows/quartz-build-publish.yaml b/.gitea/workflows/quartz-build-publish.yaml index 081dda6..46fd236 100644 --- a/.gitea/workflows/quartz-build-publish.yaml +++ b/.gitea/workflows/quartz-build-publish.yaml @@ -15,35 +15,36 @@ jobs: git checkout -b quartz mkdir content && find . -type d,f -maxdepth 1 -regextype posix-extended ! -regex '^\.$|\./(\.git|\.obsidian|\.trash|content).*' -exec mv {} content/ \; - - - name: Clone Quartz, move content - run: | - git clone https://github.com/jackyzha0/quartz.git - mv content/* quartz/content - - - name: Setup Node - uses: actions/setup-node@v6 - working-directory: quartz/ - with: - node-version: 24 - - name: Cache dependencies - uses: actions/cache@v5 - working-directory: quartz/ - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - name: Cache Quartz plugins - uses: actions/cache@v5 - working-directory: quartz/ - with: - path: .quartz/plugins - key: ${{ runner.os }}-plugins-${{ hashFiles('quartz.lock.json') }} - restore-keys: | - ${{ runner.os }}-plugins- + - parallel: + - name: Clone Quartz, move content + run: | + git clone https://github.com/jackyzha0/quartz.git + mv content/* quartz/content + + - name: Setup Node + uses: actions/setup-node@v6 + working-directory: quartz/ + with: + node-version: 24 + + - name: Cache dependencies + uses: actions/cache@v5 + working-directory: quartz/ + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + + - name: Cache Quartz plugins + uses: actions/cache@v5 + working-directory: quartz/ + with: + path: .quartz/plugins + key: ${{ runner.os }}-plugins-${{ hashFiles('quartz.lock.json') }} + restore-keys: | + ${{ runner.os }}-plugins- - run: npm install && npm install wrangler working-directory: quartz/ From 6662c62dfa3d98102fcd2dd889f4772931e2aa0b Mon Sep 17 00:00:00 2001 From: andus Date: Wed, 26 Aug 2026 10:02:10 -0400 Subject: [PATCH 3/7] Update .gitea/workflows/quartz-build-publish.yaml --- .gitea/workflows/quartz-build-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/quartz-build-publish.yaml b/.gitea/workflows/quartz-build-publish.yaml index 46fd236..b9ea636 100644 --- a/.gitea/workflows/quartz-build-publish.yaml +++ b/.gitea/workflows/quartz-build-publish.yaml @@ -66,4 +66,4 @@ jobs: uses: cloudflare/wrangler-action@v4 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - command: deploy public --name=test1 + command: deploy public --name=test1 \ No newline at end of file From 78f98a4aec6ce3e2ef5f971ffc699fe172517c14 Mon Sep 17 00:00:00 2001 From: andus Date: Wed, 26 Aug 2026 10:06:43 -0400 Subject: [PATCH 4/7] Update .gitea/workflows/quartz-build-publish.yaml --- .gitea/workflows/quartz-build-publish.yaml | 58 +++++++++++----------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.gitea/workflows/quartz-build-publish.yaml b/.gitea/workflows/quartz-build-publish.yaml index b9ea636..b1441e9 100644 --- a/.gitea/workflows/quartz-build-publish.yaml +++ b/.gitea/workflows/quartz-build-publish.yaml @@ -16,35 +16,35 @@ jobs: mkdir content && find . -type d,f -maxdepth 1 -regextype posix-extended ! -regex '^\.$|\./(\.git|\.obsidian|\.trash|content).*' -exec mv {} content/ \; - - parallel: - - name: Clone Quartz, move content - run: | - git clone https://github.com/jackyzha0/quartz.git - mv content/* quartz/content - - - name: Setup Node - uses: actions/setup-node@v6 - working-directory: quartz/ - with: - node-version: 24 - - - name: Cache dependencies - uses: actions/cache@v5 - working-directory: quartz/ - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - name: Cache Quartz plugins - uses: actions/cache@v5 - working-directory: quartz/ - with: - path: .quartz/plugins - key: ${{ runner.os }}-plugins-${{ hashFiles('quartz.lock.json') }} - restore-keys: | - ${{ runner.os }}-plugins- + # - parallel: + - name: Clone Quartz, move content + run: | + git clone https://github.com/jackyzha0/quartz.git + mv content/* quartz/content + + - name: Setup Node + uses: actions/setup-node@v6 + working-directory: quartz/ + with: + node-version: 24 + + - name: Cache dependencies + uses: actions/cache@v5 + working-directory: quartz/ + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + + - name: Cache Quartz plugins + uses: actions/cache@v5 + working-directory: quartz/ + with: + path: .quartz/plugins + key: ${{ runner.os }}-plugins-${{ hashFiles('quartz.lock.json') }} + restore-keys: | + ${{ runner.os }}-plugins- - run: npm install && npm install wrangler working-directory: quartz/ From 4a60b02b6229d7e0e4c27db5ecde51d248cd0265 Mon Sep 17 00:00:00 2001 From: andus Date: Wed, 26 Aug 2026 10:19:26 -0400 Subject: [PATCH 5/7] Update .gitea/workflows/quartz-build-publish.yaml --- .gitea/workflows/quartz-build-publish.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/quartz-build-publish.yaml b/.gitea/workflows/quartz-build-publish.yaml index b1441e9..879bb79 100644 --- a/.gitea/workflows/quartz-build-publish.yaml +++ b/.gitea/workflows/quartz-build-publish.yaml @@ -61,9 +61,15 @@ jobs: run: npx quartz build working-directory: quartz/ + # - name: Wrangler deploy + # workingDirectory: "quartz" + # uses: cloudflare/wrangler-action@v4 + # with: + # apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + # command: deploy public --name=test1 - name: Wrangler deploy - workingDirectory: "quartz" - uses: cloudflare/wrangler-action@v4 - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - command: deploy public --name=test1 \ No newline at end of file + env: + # CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} + working-directory: quartz/ + run: npx wrangler@3 pages deploy public --project-name=test1 \ No newline at end of file From 00eac7a443e8e292897cb9954ee16dfeac042504 Mon Sep 17 00:00:00 2001 From: andus Date: Wed, 26 Aug 2026 10:47:55 -0400 Subject: [PATCH 6/7] Update .gitea/workflows/quartz-build-publish.yaml --- .gitea/workflows/quartz-build-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/quartz-build-publish.yaml b/.gitea/workflows/quartz-build-publish.yaml index 879bb79..3834d09 100644 --- a/.gitea/workflows/quartz-build-publish.yaml +++ b/.gitea/workflows/quartz-build-publish.yaml @@ -72,4 +72,4 @@ jobs: # CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} working-directory: quartz/ - run: npx wrangler@3 pages deploy public --project-name=test1 \ No newline at end of file + run: npx wrangler deploy public --name=test1 \ No newline at end of file From 358d5f45a9fe6c34f984cb66faada798d971bbfb Mon Sep 17 00:00:00 2001 From: andus Date: Wed, 26 Aug 2026 11:02:44 -0400 Subject: [PATCH 7/7] Update .gitea/workflows/quartz-build-publish.yaml --- .gitea/workflows/quartz-build-publish.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/quartz-build-publish.yaml b/.gitea/workflows/quartz-build-publish.yaml index 3834d09..36a812b 100644 --- a/.gitea/workflows/quartz-build-publish.yaml +++ b/.gitea/workflows/quartz-build-publish.yaml @@ -36,7 +36,7 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - + - name: Cache Quartz plugins uses: actions/cache@v5 working-directory: quartz/ @@ -67,9 +67,14 @@ jobs: # with: # apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} # command: deploy public --name=test1 + + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%d')" + - name: Wrangler deploy env: # CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} working-directory: quartz/ - run: npx wrangler deploy public --name=test1 \ No newline at end of file + run: npx wrangler deploy public --name=test1 --compatibility-date=${{ steps.date.outputs.date }} \ No newline at end of file