task | fix perms, update justfile

This commit is contained in:
Don Harper 2026-04-11 15:59:35 -05:00
parent afbddf736e
commit cb397bcd8e
97 changed files with 5 additions and 3 deletions

View file

@ -1,11 +1,13 @@
PRIMARY := "nuwww"
SECONDARY := "w1"
TARGET := `basename $(pwd)`
PRIMARY := "w2"
PDIR := "/srv/http/www."
SECONDARY := "w1"
# Deploy to primary
deploy:
@hugo
@rsync -e ssh -i /home/don/.ssh/git --delete -a public/ {{PRIMARY}}:www/www.{{TARGET}}/
@rsync -e ssh -i /home/don/.ssh/git --delete -a public/ {{PRIMARY}}:{{PDIR}}{{TARGET}}/
@ssh -i /home/don/.ssh/git {{PRIMARY}} chmod -R a+rX {{PDIR}}{{TARGET}}
# Deploy to dev
dev: