Skip to content

Commit 456773f

Browse files
committed
cleanup the deploy script a bit
1 parent ef2a078 commit 456773f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

bin/deploy

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,21 @@ echo "Deploying branch: $branch"
1010
# Deploy a copy of snapCloud
1111
pushd ~/snapCloud/ > /dev/null;
1212

13+
git fetch
1314
git checkout $branch
14-
git pull origin $branch
15+
# git pull origin $branch
1516
# Always init, just incase we add a submodule.
1617
git submodule init
1718
git submodule update --recursive --remote
1819

20+
# TODO: Clean this up...
1921
pushd ~/snapCloud/bin/;
20-
2122
./renew-certs
2223
./deploy-certs
24+
popd;
25+
2326
# ./update-snap
2427

25-
popd;
2628

2729
echo "Updating Dependencies:"
2830
sudo luarocks install --only-deps snapcloud-dev-0.rockspec

0 commit comments

Comments
 (0)