Skip to content

Instantly share code, notes, and snippets.

@dalthonmh
Created March 9, 2022 23:58
Show Gist options
  • Save dalthonmh/b8c0f135c47a6c9d71ff3e0118b9081f to your computer and use it in GitHub Desktop.
Save dalthonmh/b8c0f135c47a6c9d71ff3e0118b9081f to your computer and use it in GitHub Desktop.
#!/bin/bash
# must enable execution permission with:
# sudo chmod 774 deploy.sh
echo Deploying app...
git pull origin dev
yarn build
rm -r ../dist
cp -r dist ../
echo Deploy finished.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment