Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Deploy from github

  1. Create a project directory
  2. Create a configuration file into the project dir deploy.json
{
	"git": {
		"token": "github token",
		"org": "organisation name",
		"repo": "repository name",
		"branch": "main"
	},
	"symlink": {
		"source from project root": "target"
	},
	"copy": {
		 "source from project root": "target"
	},
	"target": "deployment location",
	"scripts": {
		"stop": [
			"echo stop service"
		],
		"start": [
			"echo start service"
		],
		"prepare": [
			"npm install",
			"echo prepare project"
		]
	}
}
  1. Call the script
node deploy <project folder name>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages