We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6dcd533 + 2b342fe commit 8781ba6Copy full SHA for 8781ba6
1 file changed
ADVANCED_README.md
@@ -1058,6 +1058,21 @@ $ pm2 startOrReload all.json # Invoke reload
1058
$ pm2 startOrGracefulReload all.json # Invoke gracefulReload
1059
```
1060
1061
+## Using file key for authenticating
1062
+
1063
+Just add the "key" attribute with file path to the .pem key within the attributes "user", "hosts"...
1064
1065
+```
1066
+ "production" : {
1067
+ "key" : "/path/to/some.pem",
1068
+ "user" : "node",
1069
+ "host" : "212.83.163.1",
1070
+ "ref" : "origin/master",
1071
+ "repo" : "git@github.com:repo.git",
1072
+ "path" : "/var/www/production",
1073
+ "post-deploy" : "pm2 startOrRestart ecosystem.json --env production"
1074
+ },
1075
1076
<a name="considerations"/>
1077
## Considerations
1078
0 commit comments