From 6a1eeed34eb131e5a9d28af1b64b519aeab7183e Mon Sep 17 00:00:00 2001 From: andus Date: Tue, 25 Aug 2026 17:29:15 -0400 Subject: [PATCH] Update .gitea/workflows/quartz-build-publish.yaml --- .gitea/workflows/quartz-build-publish.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/quartz-build-publish.yaml b/.gitea/workflows/quartz-build-publish.yaml index 3639248..eba1e23 100644 --- a/.gitea/workflows/quartz-build-publish.yaml +++ b/.gitea/workflows/quartz-build-publish.yaml @@ -45,7 +45,7 @@ jobs: restore-keys: | ${{ runner.os }}-plugins- - - run: npm install + - run: npm install && npm install wrangler working-directory: quartz/ - name: Install Quartz plugins @@ -61,8 +61,7 @@ jobs: working-directory: quartz/ - name: Wrangler deploy - 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 + uses: cloudflare/wrangler-action@v4 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + workingDirectory: "quartz"