From 892fbf3e293752f1a9cb2a4e1cca759c5bbe21e3 Mon Sep 17 00:00:00 2001 From: Deep Date: Mon, 22 Sep 2025 03:32:39 +0530 Subject: [PATCH] Fix database --- .github/workflows/push-cloudflare.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/push-cloudflare.yaml b/.github/workflows/push-cloudflare.yaml index fb394b4..6478d77 100644 --- a/.github/workflows/push-cloudflare.yaml +++ b/.github/workflows/push-cloudflare.yaml @@ -39,6 +39,9 @@ jobs: cargo install worker-build fi + - name: Replace D1_DATABASE_ID in wrangler.toml + run: sed -i "s/\${D1_DATABASE_ID}/${{ secrets.D1_DATABASE_ID }}/g" wrangler.toml + - uses: cloudflare/wrangler-action@v3 id: cf env: