Created
March 10, 2022 00:01
-
-
Save dalthonmh/a239fa6293ebd56cf0d0d883572aa50f to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
# must enable execution permission with: | |
# sudo chmod 774 deploy.sh | |
echo Deploying app... | |
git pull origin dev | |
yarn build | |
rm -r ../build | |
cp -r build ../ | |
echo Deploy finished. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment