reorganized folder structure
This commit is contained in:
9
gharbeia.net/deploy.sh
Executable file
9
gharbeia.net/deploy.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
USER=amr
|
||||
HOST=gharbeia.net
|
||||
DIR=~/public_html # might sometimes be empty!
|
||||
|
||||
rm -rf public/
|
||||
hugo && rsync -avz --delete public/ ${USER}@${HOST}:/${DIR}
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user