fix: deploy target
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,7 +1,7 @@
|
|||||||
.PHONY: build exif_clean dev clean deploy
|
.PHONY: build exif_clean dev clean deploy
|
||||||
|
|
||||||
build: exif_clean
|
build: exif_clean
|
||||||
nix build '.?submodules=1#default'
|
hugo
|
||||||
|
|
||||||
exif_clean:
|
exif_clean:
|
||||||
exiftool -r -overwrite_original -all= -tagsFromFile @ -Orientation -Canon -AllDates content/
|
exiftool -r -overwrite_original -all= -tagsFromFile @ -Orientation -Canon -AllDates content/
|
||||||
@@ -13,4 +13,4 @@ clean:
|
|||||||
git clean -fdX
|
git clean -fdX
|
||||||
|
|
||||||
deploy: build
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user