include bash script for deployment and synchronization
This commit is contained in:
parent
f21023d82c
commit
57d252ce48
1 changed files with 7 additions and 0 deletions
7
deploy
Executable file
7
deploy
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
SSHCONFIG=debian11
|
||||||
|
DIR=/var/www/peterspage
|
||||||
|
|
||||||
|
hugo && rsync -avz --delete public/ ${SSHCONFIG}:${DIR}
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue