Wix Velo Branch Dev Sandbox

Currently, we use Wix Studio’s integration with GitHub, where all local changes are pushed to the main branch. When we publish, these changes go live immediately. However, this workflow does not allow for detailed testing before deployment, which can be risky if a change accidentally breaks something in production.

A good solution would be to implement an internal development environment, similar to /_functions-dev/, which already operates in a sandbox. The idea is to have a dev branch in GitHub, where modified code would be pushed and tested exclusively in this development environment (/_functions-dev/). This way, we could make changes, perform multiple tests, and ensure stability before promoting them to production.

The ideal workflow would be:

  1. Development and testing: Push code to the dev branch, making it available only in the sandbox environment (/_functions-dev/).
  2. Validation: Once testing and validation are complete, merge the dev branch into main.
  3. Deployment: When publishing main, the changes would go live in production (/_functions/).

I would like to know if Wix Studio provides a native way to link code from a secondary branch (dev) to the sandbox environment (/_functions-dev/), allowing for a safer development workflow before deployment.