Example project that shows how you can create a branch for every preview deployment on Vercel using GitHub actions
29
stars
11
forks
source link
vercel deploy returns 0 regardless of if the deploy succeeds #29
Open
martin-purplefish opened 1 month ago
https://github.com/neondatabase/preview-branches-with-vercel/blob/149da8f5a306c52cf42ec6774ed0cd82da1ab163/.github/workflows/deploy-preview.yml#L58
Because of the echo, this will return 0 regardless of what vercel deploy returns. So if there's an error the step will still succeed