make => just

This commit is contained in:
Wesley Moore 2021-10-27 17:29:15 +10:00
parent 71f4cfad2e
commit fc0a8acbbd
No known key found for this signature in database
GPG key ID: BF67766C0BC2D0EE
2 changed files with 10 additions and 7 deletions

10
v2/Justfile Normal file
View file

@ -0,0 +1,10 @@
default:
@just --list
# rsync to production
deploy: build
rsync -avzhP --delete public/ hardforze.binarytrance.com:infrastructure/volumes/www/wezm.net/v2/
# build with zola
build:
zola build

View file

@ -1,7 +0,0 @@
all:
@echo "Available targets:"
@echo "- deploy"
deploy:
zola build
rsync -avzhP --delete public/ hardforze.binarytrance.com:infrastructure/volumes/www/wezm.net/v2/