PM2 module to automatically pull the git repository of running apps.
Report Bug
·
Request Feature
Table of Contents
PM2-Auto-Pull has not received an update for almost 5 years now (as of 2023), so I decided to rewrite it in typescript and hopefully make it more stable and easier to use.
To get this running with your project, follow these simple steps.
- pm2
pm2 install pm2-pull
$ pm2 set pm2-pull:<attr> <val>
# Example
$ pm2 set pm2-pull:interval 10000 # 10 seconds, default: 30000 (30 seconds)
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
DanCodes - @dan-online - dan@dancodes.online
Project Link: https://github.com/dan-online/pm2-pull