Add deploy.sh
This commit is contained in:
parent
cbf71d84e6
commit
3b2dec2084
1 changed files with 14 additions and 0 deletions
14
deploy.sh
Executable file
14
deploy.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Deploy erynwells.me to my web root
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
echo "----- Filtering .DS_Store files"
|
||||
find . -name '.DS_Store' -print -delete
|
||||
|
||||
echo "----- Generating site"
|
||||
hugo
|
||||
|
||||
echo
|
||||
echo "----- Rsyncing site to nutmeg.erynwells.me"
|
||||
rsync -avz --no-times --no-perms --delete public/ \
|
||||
eryn@nutmeg.erynwells.me:/srv/www/erynwells.me/html
|
Loading…
Add table
Add a link
Reference in a new issue