Closed alexflint closed 4 months ago
i think you want on: pull_request
https://github.com/BetaHuhn/deploy-to-vercel-action/blob/master/src/config.js#L6
or
with:
PRODUCTION: false
Oh, I see. It's based on the trigger rather than the branch name. Makes sense.
🐞 Describe the bug
In the docs you say that the default value for PRODUCTION is "true (false for PR deployments)", but when I use this action from a pull request, it creates a production deployment on vercel.
📚 To Reproduce
Create a pull request on a repository with an ordinary github action like this:
💡 Expected behavior
Creates a preview deployment
🖼️ Screenshots
N/A
⚙️ Environment
I am using
BetaHuhn/deploy-to-vercel-action@v1
📋 Additional context
N/A