So currently I try to set up a new workflow. This is what I currently have:
I work with VVV so I have such structure:
xyz.de.dev/
---- .git/
---- bower_components/
---- node_modules/
---- wp-content/
---- wp-includes/
---- wp-admin/
---- .gitignore
---- other WP files...
So that is my git-powered local development environment of the project. I also set up a private bitbucket project and I'm pushing my local dev to that project using "git push origin master".
Now I have a Webserver which should act as a staging server. I have SSH access and git is installed on that server.
Which would be the best way to deploy my local development to a staging or later a live server? I already tried to clone the bitbucket project to my staging server and then, git pull every time I updated the project. But that didnt work out as expected.
What would you suggest?
Which would be the best way to deploy my local development to a staging or later a live server?
My colleague built something your are looking for for our company website:
I hope this helps you in your further considerations.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.