mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-23 01:30:09 +01:00
22 lines
629 B
Bash
Executable File
22 lines
629 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# $DEPLOY_SRC = ~/src/github.com/ascribe/wp-theme/ascribe/
|
|
|
|
set -e;
|
|
|
|
echo "$(tput setaf 136)"
|
|
echo "============================================="
|
|
echo " Start deployment: live "
|
|
echo "============================================="
|
|
echo "$(tput sgr0)" # reset
|
|
|
|
rsync --recursive --delete --delete-excluded --checksum --verbose -e "ssh" $DEPLOY_SRC $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
|
|
|
|
echo "$(tput setaf 64)" # green
|
|
echo "---------------------------------------------"
|
|
echo " ✓ done deployment: live"
|
|
echo "---------------------------------------------"
|
|
echo "$(tput sgr0)" # reset
|
|
|
|
exit;
|