diff --git a/.github/actions/publish_to_pages_production/action.yml b/.github/actions/publish_to_pages_production/action.yml index 5677d22d9db..77cdc8e769f 100644 --- a/.github/actions/publish_to_pages_production/action.yml +++ b/.github/actions/publish_to_pages_production/action.yml @@ -11,6 +11,9 @@ runs: using: composite steps: - name: Publish to cloudflare pages (production) + env: + CLOUDFLARE_ACCOUNT_ID: ${{ inputs.CLOUDFLARE_ACCOUNT_ID }} + CLOUDFLARE_API_TOKEN: ${{ inputs.CLOUDFLARE_API_TOKEN }} run: |- cd dist npx -y wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=main diff --git a/.github/actions/publish_to_pages_staging/action.yml b/.github/actions/publish_to_pages_staging/action.yml index 18a56fdaeb8..207139b90c2 100644 --- a/.github/actions/publish_to_pages_staging/action.yml +++ b/.github/actions/publish_to_pages_staging/action.yml @@ -11,6 +11,9 @@ runs: using: composite steps: - name: Publish to cloudflare pages (staging) + env: + CLOUDFLARE_ACCOUNT_ID: ${{ inputs.CLOUDFLARE_ACCOUNT_ID }} + CLOUDFLARE_API_TOKEN: ${{ inputs.CLOUDFLARE_API_TOKEN }} run: |- cd dist npx -y wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=staging