Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up"pre-deploy" hook missing from pm2 ecosystem.json documentation #4687
Comments
|
@niftylettuce I was looking for a way to run a command before the repo is cloned, but from the docs, |
|
This runs locally on the server's |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
bump |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
bump |


There is no "pre-deploy" hook listed here as an option at https://pm2.keymetrics.io/docs/usage/deployment/. It should also be mentioned that this hook will run BEFORE
git pulloccurs, e.g. you may want to suggest to users to putgit reset --hardas thepre-deployhook in case their files such asyarn.lockchange frequently, or localization occurs.