Last active
August 11, 2020 15:53
-
-
Save trvswgnr/bcf2a60229545ad1402e51cc595ec0dd to your computer and use it in GitHub Desktop.
Codeship to WPEngine CI/CD Deploy Script
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 .gitignore | |
| mv .gitignore-deploy .gitignore | |
| cd wp-content/themes/standupstations/ | |
| npm install | |
| npm run dev | |
| git config --global user.name "CodeShip deployment" | |
| git config --global user.email "travis@travisaw.com" | |
| git remote add staging git@git.wpengine.com:production/standupstaging.git | |
| git add -A | |
| git commit -m "Codeship deploy" | |
| git push staging HEAD:refs/heads/master --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.