A CLI App to watch git repo and automatically run a command (deploy command, ex. build and run docker container) after inspecting some changes.
- Create virtual environment.
python -m venv venv
- Activate virtual environment.
- Install package.
pip install automatic-deployer
Use the following command to set up watcher.
deployer setup
Follow the prompt for required inputs or use --help
to direct accessing the command arguments.
deployer setup --help
Use the following command to start watching repo up watcher.
deployer start
Use --help
for additional commands and their functionality.
deployer --help
- If you want to watch a private repo, you can use the following style git url.
https://oauth2:[email protected]/username/repo.git
- TOKEN can be generated throw your vcs.
- Currently, it only supports
main
branch but in near we will add option to watch other branches too.