Skip to content

Commit

Permalink
Merge branch 'master' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
jshkurti committed Mar 2, 2015
2 parents 6dcd533 + 2b342fe commit 8781ba6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ADVANCED_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,21 @@ $ pm2 startOrReload all.json # Invoke reload
$ pm2 startOrGracefulReload all.json # Invoke gracefulReload
```
## Using file key for authenticating
Just add the "key" attribute with file path to the .pem key within the attributes "user", "hosts"...
```
"production" : {
"key" : "/path/to/some.pem",
"user" : "node",
"host" : "212.83.163.1",
"ref" : "origin/master",
"repo" : "git@github.com:repo.git",
"path" : "/var/www/production",
"post-deploy" : "pm2 startOrRestart ecosystem.json --env production"
},
```
<a name="considerations"/>
## Considerations
Expand Down

0 comments on commit 8781ba6

Please sign in to comment.