diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5db75f3e9cfdeb2352e3f70b9666e0d8c9424bc2..2231bdf8b3162885db37fe2d17286512b1c32f04 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,7 +94,7 @@ deploy-cloudfare-master:
   script:
     - cd frontends/web/dist
     - cp -rp ../static/* .
-    - npm_config_yes=true npx wrangler@^2 pages publish . --project-name=boytacean --branch master
+    - npm_config_yes=true npx wrangler pages deploy . --project-name=boytacean --branch master
   dependencies:
     - build-wasm
   only:
@@ -105,7 +105,7 @@ deploy-cloudfare-stable:
   script:
     - cd frontends/web/dist
     - cp -rp ../static/* .
-    - npm_config_yes=true npx wrangler@^2 pages publish . --project-name=boytacean --branch stable
+    - npm_config_yes=true npx wrangler pages deploy . --project-name=boytacean --branch stable
   dependencies:
     - build-wasm
   only:
@@ -116,9 +116,9 @@ deploy-cloudfare-prod:
   script:
     - cd frontends/web/dist
     - cp -rp ../static/* .
-    - npm_config_yes=true npx wrangler@^2 pages publish . --project-name=boytacean --branch prod
-    - npm_config_yes=true npx wrangler@^2 pages publish . --project-name=boytacean --branch production
-    - npm_config_yes=true npx wrangler@^2 pages publish . --project-name=boytacean --branch main
+    - npm_config_yes=true npx wrangler pages deploy . --project-name=boytacean --branch prod
+    - npm_config_yes=true npx wrangler pages deploy . --project-name=boytacean --branch production
+    - npm_config_yes=true npx wrangler pages deploy . --project-name=boytacean --branch main
   dependencies:
     - build-wasm
   only: