commit script tweaks
This commit is contained in:
parent
c27f53cd92
commit
76cc098697
16
commit
16
commit
@ -9,8 +9,20 @@ set -eo pipefail
|
|||||||
|
|
||||||
git checkout dev
|
git checkout dev
|
||||||
./sync
|
./sync
|
||||||
|
if git diff; then
|
||||||
git add .
|
git add .
|
||||||
git commit
|
git commit "$@"
|
||||||
git push
|
git push
|
||||||
ssh lentilz 'cd ~/code/gravity-dev && git add . && git stash && git pull && git stash apply && npm i'
|
fi
|
||||||
|
ssh lentilz "
|
||||||
|
set -oe pipefail
|
||||||
|
export NVM_DIR=\"\$HOME/.nvm\"
|
||||||
|
[ -s \"\$NVM_DIR/nvm.sh\" ] && \. \"\$NVM_DIR/nvm.sh\" # This loads nvm
|
||||||
|
cd ~/code/gravity-dev
|
||||||
|
git add .
|
||||||
|
git stash
|
||||||
|
git pull
|
||||||
|
git stash apply
|
||||||
|
npm i
|
||||||
|
"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user