homepage/upload.sh

13 lines
469 B
Bash
Executable File

#!/usr/bin/env bash
# Helper script that copies files to the server.
# You need to have authenticated access to the server via SSH to use this.
# Note: Quite a few files are excluded from being uploaded to the website.
# These are denoted with an "--exclude" parameter.
rsync -rav -e ssh --delete \
--exclude .git/ --exclude *.sh --exclude README.md --exclude *.d --exclude *.ods --exclude garden-data-gen/* \
./ \
root@andrewlalis.com:/var/www/andrewlalis.com/html