Skip to content

A CLI App to watch git repo and automatically run a command (deploy command, ex. build and run docker container) after inspecting some changes.

License

Notifications You must be signed in to change notification settings

rmmbdev/automatic-deployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Create virtual environment.
    python -m venv venv
  2. Activate virtual environment.
  3. 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:[email protected]/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.

About

A CLI App to watch git repo and automatically run a command (deploy command, ex. build and run docker container) after inspecting some changes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages