diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1e63710 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +old/ +unused-pictures/ diff --git a/Makefile b/Makefile index e1133c2..66f389b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ .PHONY: deploy deploy: - rsync --archive --verbose --delete --no-i-r --info=progress2 \ - --exclude=unused-pictures/ \ + rsync --archive --verbose --delete --delete-excluded --no-i-r --info=progress2 \ + --exclude-from=.gitignore \ --exclude=.git/ \ + --exclude=.gitignore \ --exclude=Makefile \ + --exclude=README.md \ ./ bert:/srv/www/katherineandchandler.com/2024/ireland/