Merge remote-tracking branch 'origin/main'
Quartz Publisher / Quartz-Build-Publish (push) Successful in 14m29s

This commit is contained in:
2026-08-26 11:16:29 -04:00
+17 -5
View File
@@ -16,6 +16,7 @@ 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
@@ -60,9 +61,20 @@ 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: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Wrangler deploy
workingDirectory: "quartz"
uses: cloudflare/wrangler-action@v4
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy public --name=test1
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 --compatibility-date=${{ steps.date.outputs.date }}