Just wanted to drop a note I'm no longer using this script (overcomplicated), and ended up making a feature request here:
My current deployment process I haven't shared yet, it involves a custom Dockerfile that automatically patches Wappler files to read database credentials from environment variables, so I just deploy from the master branch