From 6f202fb050e41d5533a4d86b9feb2f8a4fae2fe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Mon, 12 Jun 2023 12:05:51 +0100
Subject: [PATCH] fix: wrangler use of latest version

---
 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5db75f3e..2231bdf8 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:
-- 
GitLab