fix deploy exec

This commit is contained in:
Captain Arepa 2023-01-30 21:34:11 -04:00
parent 391fcf40bc
commit ec42cc7eb1

2
deploy
View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
USER=caparepa USER=caparepa
HOST=webdock HOST=webdock
DIR=temp/cachapa.xyz/ # the directory where your web site files should go DIR=temp/blog.cachapa.xyz/ # the directory where your web site 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