Vite + Github Actions + One Build many deploy

nv_conqueror

Naresh Vasikarla

Posted on July 5, 2024

Vite + Github Actions + One Build many deploy

Hi - Am working on a vite project where I need to deploy the static build to multiple environments. am using github actions. looking at the vite build, all env variables are injected during build time and had to build a package for each environment and then deploy which is not making sense. does anyone have any inputs on how to create one build and leverage for multiple environments. deploying to cloudfoundry - fyi. i did try unpacking and rebuilding and redeploying to cf but the configuration picks the file from artifactory ignoring the custom file. any pointers are appreciated.

💖 💪 🙅 🚩
nv_conqueror
Naresh Vasikarla

Posted on July 5, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related