From 041c25d1fd762e0b05eba2d3de9369822457d235 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Thu, 18 Dec 2025 21:17:26 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20corriger=20le=20nom=20de=20d=C3=A9ploiem?= =?UTF-8?q?ent=20pour=20Cloudflare=20Pages=20et=20nettoyer=20la=20configur?= =?UTF-8?q?ation=20de=20wrangler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cloudflare.yml | 4 ++-- wrangler.jsonc | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cloudflare.yml b/.github/workflows/cloudflare.yml index 9ea6f17..3778630 100644 --- a/.github/workflows/cloudflare.yml +++ b/.github/workflows/cloudflare.yml @@ -1,4 +1,4 @@ -name: Deploy to Cloudflare Workers +name: Deploy to Cloudflare Pages on: push: @@ -35,7 +35,7 @@ jobs: STUDIO_GITHUB_CLIENT_ID: ${{ vars.STUDIO_GITHUB_CLIENT_ID }} STUDIO_GITHUB_CLIENT_SECRET: ${{ vars.STUDIO_GITHUB_CLIENT_SECRET }} - - name: Publish to Cloudflare Workers + - name: Publish to Cloudflare Pages uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} diff --git a/wrangler.jsonc b/wrangler.jsonc index d4335c9..a1e6acf 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -2,12 +2,7 @@ "$schema": "node_modules/wrangler/config-schema.json", "name": "artsite", "compatibility_date": "2025-12-13", - "compatibility_flags": [ - "nodejs_compat" - ], - "placement": { - "mode": "smart" - }, + "pages_build_output_dir": ".output/public", "d1_databases": [ { "binding": "DB",