1.4.0 • Published 5 years ago
gdeployer v1.4.0
gdeployer
Automated deployment tool - nodejs library
Install
$ npm install -g gdeployer
Usage
Usage: gdeployer [options] [dir]
Options:
-h, --help output usage information
-V, --version output the version number
-c, --config <n> config file path, relative to repository path (default gdeployer.json)
-r, --repository <n> repository name (default origin)
-b, --branch <n> branch name (default master)
-f, --from <n> deploy version from (branch || tag) (default branch)
-t, --tag <n> deploy version from tag name
-e, --export <n> reletive path from deploy path, where to export version file
eg
$ gdeployer --help
$ gdeployer --version
# deploy latest code from branch
$ gdeployer --config configs/production.json --repository origin --branch develop --from branch /repo/path
# deploy code from latest tag
$ gdeployer --config configs/production.json --from tag /repo/path
# deploy code from specific tag
$ gdeployer --config configs/production.json --tag 0.5.0 /repo/path
# export version name and timestamp to a file
$ gdeployer --config configs/production.json --export ./public /repo/path
Config
Create gdeployer.json config file and put to repository root directory
Config file options:
{
"destinationPath": "deployment/path",
"versionsToKeep": 4,
"changeFileOwner": "www",
"tasks": {
"before": [
"echo before live task"
],
"after": [
"echo after live task"
]
}
}
License
(The MIT License) see LICENSE file for details...
1.4.0
5 years ago
1.3.0
6 years ago
1.2.4
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.0
8 years ago
1.0.1
9 years ago
1.0.0
9 years ago
0.8.0
10 years ago
0.7.2
10 years ago
0.7.1
10 years ago
0.7.0
10 years ago
0.6.0
10 years ago
0.5.0
10 years ago
0.4.2
11 years ago
0.4.1
11 years ago
0.4.0
11 years ago
0.3.0
11 years ago
0.2.1
11 years ago
0.2.0
11 years ago
0.1.0
11 years ago
0.0.0
11 years ago