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.
Follow the prompt for required inputs.
deployer setup
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.
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.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2afb88ee532395fee75228425386373d6fa1aedf410f9c26557b36bf9d46b16f |
|
MD5 | be9483e6061fe59370692f0f505e8ba0 |
|
BLAKE2b-256 | 225025be85beb8890ebf960311c454c6223390dfcddd56ce14b5af5bdf8ebc37 |