Updated to use HEAD
This commit is contained in:
parent
abe0a60c0c
commit
5c50bedd21
1 changed files with 1 additions and 9 deletions
10
bash/deploy
10
bash/deploy
|
@ -1,10 +1,2 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ -z "$2" ]];
|
||||
then
|
||||
BRANCH=master
|
||||
else
|
||||
BRANCH=$2
|
||||
fi
|
||||
|
||||
/usr/bin/ssh -p9455 josh@aurora "cd /var/www/$1; git pull origin $BRANCH"
|
||||
/usr/bin/ssh -p9455 josh@aurora "cd /var/www/$1; git pull origin HEAD"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue