Deploy script just copies files over
This commit is contained in:
parent
021ec1b531
commit
48067a00f6
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue