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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 931f4d50de87b5d44a35ad9b14aa5e260e07ac1f94ffb98c7ef93eb84510ebae |
|
MD5 | 3254af01ec7a7d5d2f7f926c4810cd58 |
|
BLAKE2b-256 | 49ee5671a3079073a67beeef49b4ef69f30eec0afda68b0b432d46f3b1a91201 |