diff --git a/.github/actions/publish_to_pages_production/action.yml b/.github/actions/publish_to_pages_production/action.yml index d22180f8da2..5677d22d9db 100644 --- a/.github/actions/publish_to_pages_production/action.yml +++ b/.github/actions/publish_to_pages_production/action.yml @@ -12,8 +12,7 @@ runs: steps: - name: Publish to cloudflare pages (production) run: |- - npm i wrangler@3.1.0 cd dist - npx wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=main + npx -y wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=main echo "New website - http://cf-pages-deriv-binary-static.deriv.com" shell: bash diff --git a/.github/actions/publish_to_pages_staging/action.yml b/.github/actions/publish_to_pages_staging/action.yml index 809fd65e02c..18a56fdaeb8 100644 --- a/.github/actions/publish_to_pages_staging/action.yml +++ b/.github/actions/publish_to_pages_staging/action.yml @@ -12,8 +12,7 @@ runs: steps: - name: Publish to cloudflare pages (staging) run: |- - npm i wrangler@3.1.0 cd dist - npx wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=staging + npx -y wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=staging echo "New staging website - http://staging.cf-pages-deriv-binary-static.deriv.com" shell: bash