WP主题GIT推向GitHub和VPS
任何想法如何将您的项目推向Github。然后,GitHub将仅推(Webhooks)特定文件夹(IE Dist内容)到数字海洋VP?
例如,我在本地从事WordPress项目。然后,我将其推到Github。但是我希望Github自动将拳头文件夹的内容物推向数字海洋VPS。我使用deploy.php
脚本来自动执行任务,并且工作正常。但是无法将特定文件夹推向VPS。
Any idea how to git push your project to github. Then, github will push (webhooks) only specific folder (i.e. dist contents) to digital ocean vps?
For example, I am working on a wordpress project locally. Then, I push it to github. But I want github to automatically push the contents of fist folder to digital ocean vps. I use a deploy.php
script to automate the task and it's working fine. But unable to push a specific folder to vps.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了一个解决方案。我必须使用github动作。
https://github.com/marketplace/cretplace/ftpplace/ftpp-depploy#exclude-文件
I found a solution. I have to use github actions instead.
https://github.com/marketplace/actions/ftp-deploy#exclude-files