修改提交位置,服务器变为容器化的caddy
This commit is contained in:
parent
9281fb38e4
commit
2e119c8ab9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,7 +1,6 @@
|
|||||||
public/
|
public/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
resources/
|
resources/
|
||||||
content
|
|
||||||
resources
|
resources
|
||||||
public
|
public
|
||||||
|
|
||||||
|
|||||||
@ -31,4 +31,4 @@ tags = ["日常", "碎碎念", "价值观"]
|
|||||||
但是截止目前,我还是决定坚持我此前的价值观,并努力成为这个标准下更好的自己。因为我没来由地觉得,对于市场来说,我觉得有上面那样氛围的团队没什么前途,需要改变的是团队的环境,
|
但是截止目前,我还是决定坚持我此前的价值观,并努力成为这个标准下更好的自己。因为我没来由地觉得,对于市场来说,我觉得有上面那样氛围的团队没什么前途,需要改变的是团队的环境,
|
||||||
而不是团队中的个体。
|
而不是团队中的个体。
|
||||||
|
|
||||||
*P.S. 可能有些哲学名词和逻辑有一些问题,我哲学的书实在是读的太少了。*
|
*P.S. 可能有些哲学名词和逻辑有一些问题,我哲学的书实在是读的太少了,真的。*
|
||||||
|
|||||||
4
deploy
4
deploy
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
USER=www
|
USER=root
|
||||||
HOST=uniu.net.cn
|
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
|
hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR} # this will delete everything on the server that's not in the local public folder
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user