Skip to content

Commit 8c7c649

Browse files
rename bin/ to build/
1 parent 4a7b2da commit 8c7c649

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

predeploy.sh

+4-6
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@ BUILD_PATH=/home/$BUILD_USER/disque-$ENVIRONMENT
2121

2222
#ssh $BUILD_USER@$BUILD_SERVER 'sudo apt-get install -y libjemalloc-dev'
2323

24-
rm -rf bin
25-
26-
rsync -az --delete --exclude="bin/" ./ $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/
24+
rsync -az --delete --exclude="build/" ./ $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/
2725

2826
ssh $BUILD_USER@$BUILD_SERVER "cd $BUILD_PATH; make distclean && make"
2927

30-
mkdir -p bin
28+
mkdir -p build
3129

32-
scp $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/src/disque bin/
33-
scp $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/src/disque-server bin/
30+
scp $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/src/disque build/
31+
scp $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/src/disque-server build/

0 commit comments

Comments
 (0)