Deploy script just copies files over

This commit is contained in:
Nicholas Kariniemi 2015-05-01 09:01:22 +03:00
parent 021ec1b531
commit 48067a00f6

View file

@ -1,5 +1,4 @@
#!/bin/bash
BUILD_NAME=`ls -t target/builds | head -1`
#scp target/builds/$BUILD_NAME $GRUB_USER@$GRUB_SERVER:$GRUB_STAGING_DIR/$BUILD_NAME
ssh $GRUB_USER@$GRUB_SERVER "cp $GRUB_STAGING_DIR/$BUILD_NAME $GRUB_RELEASE_DIR/$BUILD_NAME && killall java && run_server.sh"
scp target/builds/$BUILD_NAME $GRUB_USER@$GRUB_SERVER:$GRUB_RELEASE_DIR/$BUILD_NAME