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"