grub-fork/scripts/deploy.sh

7 lines
193 B
Bash
Raw Normal View History

#!/bin/sh
2014-12-07 08:36:47 +00:00
BUILD_NAME=`ls -t target/builds | head -1`
SERVER_URL=$GRUB_USER@$GRUB_SERVER:$GRUB_RELEASE_DIR/$BUILD_NAME
echo "Deploying to $SERVER_URL"
scp target/builds/$BUILD_NAME $SERVER_URL