From 358d5f45a9fe6c34f984cb66faada798d971bbfb Mon Sep 17 00:00:00 2001 From: andus Date: Wed, 26 Aug 2026 11:02:44 -0400 Subject: [PATCH] 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