Commit | Line | Data |
---|---|---|
4927af92 | 1 | SOURCE_DIR = $(CURDIR)/ |
38037201 AB |
2 | |
3 | RSYNC_PARAMS = --exclude-from='.rsync-exclude' --delete -avzP | |
4 | ||
4927af92 | 5 | SSH_USER = amin@bandali.eu.org |
a77e0df0 | 6 | SSH_DEST = /var/www/bandali.eu.org/ |
38037201 | 7 | |
4927af92 | 8 | all: deploy |
38037201 AB |
9 | |
10 | deploy: | |
4927af92 | 11 | rsync $(RSYNC_PARAMS) $(SOURCE_DIR) $(SSH_USER):$(SSH_DEST) |
e4b339cf | 12 | |
4927af92 | 13 | .PHONY: deploy |