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.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bdd5e8b57e722c78e9b2352c1660e6cbbdca4dbec928a3d4e2eaf1fbad397f2 |
|
MD5 | 27d74edf7979d79f47fc3ff44131bafa |
|
BLAKE2b-256 | 82bd6d90dd29c14cf7ebf039e1d51963b995fb4ef0873741468ff52f2ca9bc66 |