I have setup codeship to pull from a git repo and push to a remote site that I have setup. Things are working well, except for the fact that all of my files are being cloned into the installation root of my site - whereas I need them to be pushed into a remote directory (/wp-content/plugins/
).
The deployment script that I have setup is as follows:
git remote add production git@git.wpengine.com:production/${REPO_SLUG}.git
git config --global user.email "CodeShip-Deploy-Bot@site.com"
git config --global user.name "CodeShop Deploy Bot"
git commit -m "DEPLOYMENT"
git push -f production master
Is there anyway that I can specify where these files are being pushed too? I am trying to avoid having to re-structure my github repository file structure.