Deploy Scripts
This commit is contained in:
parent
9dbf88c8d0
commit
935ae1793c
2 changed files with 16 additions and 0 deletions
8
deploy_devon.sh
Normal file
8
deploy_devon.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
USER=devon
|
||||
HOST=192.168.1.178
|
||||
DIR=/var/www/ # 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 directory
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue