10 lines
169 B
Bash
Executable File
10 lines
169 B
Bash
Executable File
#!/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
|