Automate deployment process for on-prem, with a tiny script.
Edit domagic.sh according to your credentials. Then, there is two way to use it:
- Add domagic as alias such below, then run it on your local git repository:
alias domagic="bash $HOME/domagic.sh"
- Move
domagic.sh
to/usr/local/bin
(MacOS), then run it on your local git repository.
It pushes your changes to git, connects to your server, pulls your commit, builds & runs your docker container whenever you run it on your local git repository.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.