如何为WordPress网站创建CI/CD管道?
我有以下设置:
- ubuntu上的Mac osx远程云服务器上的本地开发环境
- 22.04
- gitlab for版本控制
如何获得我在本地开发的NUXT.JS项目等类似的工作流程,然后将其推向Gitlab,然后获得最新的提交自动推到登台服务器(在我的情况下为远程云服务器)?
我已经找到了有关此主题的以下资源,但是我不确定在为WordPress项目构建CI/CD管道方面的常见/最佳实践是什么:
docker是我要寻找的解决方案吗?还是我需要其他工具来创建此管道?
我找到了本教程,但我想确保一般方法是正确的: https://www.digitalocean.com/community/community/tutorials/how-to-to-to-to-automate-wordpress-deployments-with-with-digitalocean--digitalocean-and-buddy
谢谢您的帮助呢
I have the following setup:
- Local development environment on Mac OSX
- Remote cloud server on Ubuntu 22.04
- Gitlab for version control
How can I get a similar workflow like my Nuxt.js projects, where I develop locally, push to Gitlab and then have the latest commit automatically pushed to a staging server (the remote cloud server in my case)?
I have found the following resources regarding this topic but I'm not sure what the common / best practice is in building a CI/CD pipeline for Wordpress projects:
Continuous Delivery on Wordpress using Docker
How can I put a database under git (version control)?
Is Docker the solution I am looking for or do I need other tools to create this pipeline?
I found this tutorial but I wanted to make sure the general approach is correct: https://www.digitalocean.com/community/tutorials/how-to-automate-wordpress-deployments-with-digitalocean-and-buddy
Thank you for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我与Jenkins,Gitlab,Docker,K8S创建CICD。
在Jenkins中,您可以使用Shell替代方案进行管道。
I create a CICD with jenkins, gitlab, docker, k8s.
in jenkins, you can use shell alternative for pipeline.