homepage/upload.sh

13 lines
469 B
Bash
Raw Normal View History

2023-07-15 04:56:20 +00:00
#!/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.
2024-03-16 16:41:08 +00:00
# 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 \
2024-03-16 16:41:08 +00:00
--exclude .git/ --exclude *.sh --exclude README.md --exclude *.d --exclude *.ods --exclude garden-data-gen/* \
./ \
root@andrewlalis.com:/var/www/andrewlalis.com/html