Git push deployment method (+ Caprover)

Similarly to FTP deployment, add an option “Git push” for deployment

Logic for Git push deployment:

  1. Once deployment is requested, create a new Git branch “wappler_deployment” (project must be using Git)
  2. Commit files to “wappler_deployment” (target specific files, such as db.json)
  3. Git push branch “wappler_deployment” to remote specified during target configuration
  4. Delete branch “wappler_deployment”

The same logic could be applied to Caprover. Instead of “git push”, it would be “caprover deploy”

Git push can be used for deployment with Dokku - a self-hosted Heroku alternative

Community Page
Last updated: