1.0.10 • Published 10 years ago
pullme v1.0.10
pullMe
Auto pulls for github public or private repos. It designed for your simple test environment. Checks github api, when push time changes, pulls the commit
Installation
npm i pullme -gUsage
cd /root/myProjectDirectorycreate
.pullMefiletype this data in
.pullMefile (file must be formatted with json)
{
"repository": "YOUR_ACCOUNT_NAME/REPOSITORY_NAME",
"accessToken": "YOUR_ACCESS_TOKEN", // not required for public
"gitPull": "origin master", // default
}- run
pullmecommand in shell
Other process calls
This options helps your environment stable
{
"beforePull": "kill yourprocess..",
"afterPull": ["npm install", "npm start"]
}