Skip to main 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.

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

  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: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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automatic-deployer-0.3.3.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

automatic_deployer-0.3.3-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page