Thank you for the URLs you provided. and such thorough explanation. Turns out, using GitHub Actions with Vercel CLI is exactly the alternative I needed.
I also realized that the way I asked the question might have led you to think I needed staging workflow. My initial goal was to disable auto builds, and have only GitHub action do the build, which is exactly what I achieved with the alternative you proposed.
The reason I needed GA is to be able to run rollup-critical-plugin. I found the information in this topic:
My workflow now is:
- Keep Vercel build for pre-preview
- Have GA run the deploy for production (because I only need critical-css in production).
That’s about it, now I can spend time optimizing.
Thank again, and I’ll keep the deploy info you mentioned for future purposes.