A CLI App to watch git repo and automatically run a command (deploy command, ex. build and run docker container) after inspecting some changes.
Project description
Automatic Deployer
A CLI App to watch git repo and automatically run a command (deploy command, ex. build and run docker container) after inspecting some changes.
Installation
- Create virtual environment.
python -m venv venv
- Activate virtual environment.
- Install package.
pip install automatic-deployer
Running
Setup
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
Run
Use the following command to start watching repo up watcher.
deployer start
Additional Commands
Use --help
for additional commands and their functionality.
deployer --help
Notes
- If you want to watch a private repo, you can use the following style git url.
https://oauth2:TOKEN@github.com/username/repo.git
- TOKEN can be generated throw your vcs.
Future Features
- Currently, it only supports
main
branch but in near we will add option to watch other branches too.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for automatic_deployer-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047ba95ff0dd28982716f74ab81b37dfb00e7ce3bb1a246e3e6203552a35e020 |
|
MD5 | b7461d5a1904c540353633f528fa9861 |
|
BLAKE2b-256 | ff8c1862ef090068e4e60ca8aaa378efce0ebf7aa6e2b3d2876fa747ca98b176 |