Last active
October 2, 2020 03:25
-
-
Save trvswgnr/1126b38f497ace6c974fc07a9baabdf3 to your computer and use it in GitHub Desktop.
codeship build to wpengine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf .git/ | |
git init | |
rm .gitignore | |
mv .gitignore-deploy .gitignore | |
cd wp-content/themes/moonfab/ | |
npm install | |
npm run dev | |
git config --global user.name "CodeShip deployment" | |
git config --global user.email "[email protected]" | |
git remote add dev [email protected]:production/moonfabdev.git | |
git add -A | |
git commit -m "Codeship deploy" | |
git push dev HEAD:refs/heads/master --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment