Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我试图用我当前的项目设置一个自动拉/工作流。
基本上我希望能够将更改推送到我的 github 存储库,并从那里让服务器(Centos 8)拉出存储库(如果有任何更改,我想尽可能避免使用 crontab)并重新启动节点进程。
我尝试使用 post-receive 挂钩,但这似乎不起作用,我能找到的唯一其他选择是设置一个 crontab,它每 X 分钟拉一次 repo,但这并不是真正有效的 imo 并且可以导致一些服务器问题。
先感谢您。