fix: deploy target

This commit is contained in:
2024-11-14 10:54:45 +01:00
parent fd466fc511
commit 30466605b0

View File

@@ -1,7 +1,7 @@
.PHONY: build exif_clean dev clean deploy
build: exif_clean
nix build '.?submodules=1#default'
hugo
exif_clean:
exiftool -r -overwrite_original -all= -tagsFromFile @ -Orientation -Canon -AllDates content/
@@ -13,4 +13,4 @@ clean:
git clean -fdX
deploy: build
rsync -e 'ssh -J root@100.64.0.1' -cdr --progress --delete-after result/ root@100.64.0.3:/var/www/website
rsync -e 'ssh -J root@100.64.0.1' -cdr --progress --delete-after public/ root@100.64.0.3:/var/www/photos