mozmill-environment/upload.sh

11 строки
241 B
Bash
Executable File

#!/usr/bin/env bash
HOST="mozqa"
TARGET_LOCATION="/data/www/mozqa.com/mozmill-env/"
echo "Uploading files ..."
scp *.zip $HOST:$TARGET_LOCATION
echo "Updating folder and file permissions..."
ssh $HOST "sudo /usr/local/sbin/puppetctl run"