Reputation: 393
I'm currently working with VSTS to host a git repository containing a WordPress site. I want to push this repository to a remote (wpengine) using SSH. I'm currently failing to see how to do this and having little success in building a release which can do this - there aren't any guides and the documentation for the plugins which look helpful here aren't very complete. Is there inbuilt functionality in VSTS release to allow this?
Upvotes: 0
Views: 588
Reputation: 290
My work flow is to push up into a remote repository and pull down, ssh'd into your site. This always for you to commit back to a working version of your staging/production site if a bug is caught, it allows for a workflow where a pull request can be issued and reviewed if necessary and of course, a single point, where code can be reverted if necessary.
Here is my paraphrased workflow:
These are the instructions: https://www.visualstudio.com/en-us/docs/setup-admin/team-services/use-personal-access-tokens-to-authenticate
**salessite is the name of the repo
Be sure to have the ending period(.) as this will fill in the contents of the directory without the directory name.
Hope this is helpful. I working on a tutorial for using Visual Studio git setup coming up.
Upvotes: 1