From 7d0be0e315d1001076fb9e60d4901a3e9b23617f Mon Sep 17 00:00:00 2001 From: aswathy-deriv Date: Wed, 27 Sep 2023 09:37:35 +0400 Subject: [PATCH] feat: updated the wrangler --- .github/workflows/beta.yml | 4 ++-- .github/workflows/production.yml | 2 +- .github/workflows/staging.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index aa147551868..63bca49b83a 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -22,7 +22,7 @@ env: GATSBY_RUDDERSTACK_STAGING_KEY: ${{ secrets.GATSBY_RUDDERSTACK_STAGING_KEY }} GATSBY_RUDDERSTACK_PRODUCTION_KEY: ${{ secrets.GATSBY_RUDDERSTACK_PRODUCTION_KEY }} GATSBY_RUDDERSTACK_URL: ${{ secrets.GATSBY_RUDDERSTACK_URL }} - + jobs: release-beta: timeout-minutes: 30 @@ -53,7 +53,7 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages publish public --project-name=deriv-com-pages --branch=beta + command: pages deploy public --project-name=deriv-com-pages --branch=beta - name: Cloudflare preview link ✨ run: echo "New beta website - https://beta.deriv.com" diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 824977bf921..39e8be40831 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -58,7 +58,7 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages publish public --project-name=deriv-com-pages --branch=main + command: pages deploy public --project-name=deriv-com-pages --branch=main - name: Cloudflare production link ✨ run: echo "New website - http://cf-pages-deriv-com.deriv.com" diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index b6d91167eb1..be046fe6143 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -55,7 +55,7 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages publish public --project-name=deriv-com-pages --branch=staging + command: pages deploy public --project-name=deriv-com-pages --branch=staging - name: Cloudflare preview link ✨ run: echo "New staging website - http://staging.cf-pages-deriv-com.deriv.com"