1.0.1 • Published 9 years ago
node-git-deploy v1.0.1
Works only with Bitbucket at the moment.
Sample config array
var conf = [
{
name: "My awesome repo", // exact repository name (Bitbucket)
host: 'somehost.com', // ssh host
user: 'ssh_user', // ssh user
pass: 'passw0rd', // ssh master
branch: 'master', // branch to watch
remote: 'origin', // not used atm
auth_login: 'login', // http auth login
auth_pass: 'test', // http auth password
url: 'http://to/git/repository', // not used atm
exec: [ // shell commands to execute (used to pull, move to public_html)
"cd git && git reset --hard HEAD",
"cd git && git pull origin master",
"cd git && cp www/* ../domain.com/public_html/"
]
},
{
...
}
]
$ git clone -b master git@bitbucket.org:me/my-awesome-website.git .
$ ssh-keygen
$ cat ~/.ssh/id_rsa.pub
Set Deployment key and POST hook (http://login:pass@domamin.com:3124) for your repository.
1.0.1
9 years ago
1.0.0
9 years ago
0.1.1-alpha
9 years ago
0.1.0-alpha
9 years ago
0.0.6
9 years ago
0.0.5
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago