trwnh.com/unified.test.hugo/deploy

9 lines
259 B
Text
Raw Permalink Normal View History

2024-10-05 19:56:14 +00:00
#!/bin/bash
rm -r public/
hugo
#shopt -s globstar
#tidy -mq public/**/*.html
#npx prettier@3.3.3 "public/**/*.html" --parser html --write
#npx prettier@3.3.3 "public/**/*.json" --parser json --write
2024-10-05 19:56:14 +00:00
rsync -avz --delete public/ a@trwnh.com:/srv/http/trwnh.com