pullme
v1.0.10
Published
Github auto pull repository to test environment
Downloads
1
Readme
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 -g
Usage
cd /root/myProjectDirectory
create
.pullMe
filetype this data in
.pullMe
file (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
pullme
command in shell
Other process calls
This options helps your environment stable
{
"beforePull": "kill yourprocess..",
"afterPull": ["npm install", "npm start"]
}