diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/deploy.sh | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100755 index 0000000..129ddda --- /dev/null +++ b/scripts/deploy.sh  | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | source "site.defaults.conf" | ||
| 4 | |||
| 5 | if [ -f "site.conf" ]; then | ||
| 6 | source "site.conf" | ||
| 7 | fi | ||
| 8 | |||
| 9 | echo -e "\033[0;32m[DEPLOY ]\033[0m $DEPLOY_TARGET" | ||
| 10 | rsync --progress --stats -avz --delete "$OUTPUT_DIR" "$DEPLOY_TARGET" | ||
