git config --global user.name "Bitbucket to CodeShip to WP Engine deploy"
git config --global user.email "name@example.com"
mkdir /home/rof/clone/wp-content
cp -rp /home/rof/clone/web/* /home/rof/clone/wp-content/
rm -rf web
cd /home/rof/clone/wp-content
git init
git remote add staging git@git.wpengine.com:production/NAME-THE-ENVIRONMENT.git
git add --all
git commit --allow-empty -m "WPEngine deploy"
git show-ref
echo "Pushing to WP Engine..."
git push -f staging HEAD:master
Last active
May 1, 2020 02:15
-
-
Save atazmin/8a1d4d2e604bffb0521b9c94f5f984a3 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment