修改提交位置,服务器变为容器化的caddy

This commit is contained in:
niuzhaolong 2025-10-19 01:42:09 +02:00
parent 9281fb38e4
commit 2e119c8ab9
3 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,7 +1,6 @@
public/
.DS_Store
resources/
content
resources
public

View File

@ -31,4 +31,4 @@ tags = ["日常", "碎碎念", "价值观"]
但是截止目前,我还是决定坚持我此前的价值观,并努力成为这个标准下更好的自己。因为我没来由地觉得,对于市场来说,我觉得有上面那样氛围的团队没什么前途,需要改变的是团队的环境,
而不是团队中的个体。
*P.S. 可能有些哲学名词和逻辑有一些问题,我哲学的书实在是读的太少了。*
*P.S. 可能有些哲学名词和逻辑有一些问题,我哲学的书实在是读的太少了,真的。*

4
deploy
View File

@ -1,7 +1,7 @@
#!/bin/sh
USER=www
USER=root
HOST=uniu.net.cn
DIR=www/html # the directory where your website files should go
DIR=services/hugo_site_obj # the directory where your website files should go
hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR} # this will delete everything on the server that's not in the local public folder