Skip to content

Deploy step fails with opennextjs-cloudflare: Permission denied #14738

Description

@ClaudiaGivan

What versions & operating system are you using?

⛅️ wrangler 4.106.0
────────────────────
node_version: '24'

Please provide a link to a minimal reproduction

pfizer-fit/gtel-reports-automation-fe

Describe the Bug

The deploy job in the shared reusable workflow
(pfizer-fit/bench-stack-cloudflare-actions/.github/workflows/reusable-app-deploy.yml@v1)
fails at the "Deploy Worker" step for OpenNext/Next.js projects with:

Run WRANGLER="$RUNNER_TEMP/trusted-wrangler/node_modules/.bin/wrangler"
▲ [WARNING] Proxy environment variables detected. We'll use your proxy for fetch requests.

 ⛅️ wrangler 4.111.0
────────────────────
OpenNext project detected, calling `opennextjs-cloudflare deploy`
sh: 1: opennextjs-cloudflare: Permission denied

✘ [ERROR]

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions