Skip to content

AntonNiklasson/deployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployer

A simple Express application that solves "push to deploy".

Add a webhook to http://<domain/IP>/deploy/ inside the repository's settings on GitHub.

This is what a service might look like:

module.exports = {
	"<service-name>": {
		secret: "<the-secret-that-is-defined-in-repo-settings>",
		"path": "<folder-on-the-server>",
		"repo": "<repo-ssh-url>",
		"branch": "master",
		"pm2": true,
		"commands": [
			"npm test",
			"npm install"
		]
	}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published