inital setup

This commit is contained in:
2025-02-07 10:12:09 +08:00
commit 0a1e2c8a6e
1204 changed files with 175187 additions and 0 deletions

20
Makefile Normal file
View File

@@ -0,0 +1,20 @@
.PHONY: all render update git
# 默认目标:执行所有操作
all: render update git
# 目标:渲染 Quarto 文件
render:
Rscript -e "quarto::quarto_render()"
hugo -d blackwolf
# 目标:更新网站内容
update:
rsync -crvP --progress --delete --exclude='.DS_Store' --exclude='.Rproj.user/' blackwolf/* dwuser@drwater.net:/home/www/blackwolf/
# 目标Git 提交和推送
git:
git add .
git commit -m "compile"
git push