Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 894 Bytes

File metadata and controls

30 lines (25 loc) · 894 Bytes

Auto-deploy

This is ideal for developers on a schedule. Any changes pushed to a repo will be automatically fetched by the program, saving you time which is better spent elsewhere. In theory, it is also compatible with near enough every language, just edit the setup and start commands in the config.

Example

image

Installation

  1. Clone this Github repository using Git
git clone https://github.com/jayc331/Auto-deploy
cd Auto-deploy
  1. Setup config.json
{
    "repo": "https://github.com/<user>/<project>",
    "branch": "main",
    "start": "npm run start",
    "setup": "npm install",
    "frequency": 5,
    "verbose": false
}
  1. Start the script using NodeJS
node index.js