add deploy file
This commit is contained in:
parent
c1c3095c1a
commit
004b964f6a
16
deploy.sh
Executable file
16
deploy.sh
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "--> Getting ready to deploy devroom.io"
|
||||||
|
|
||||||
|
echo " - Cleaning up"
|
||||||
|
rm -rf public/
|
||||||
|
|
||||||
|
echo " - Compiling"
|
||||||
|
hugo
|
||||||
|
|
||||||
|
echo " - Uploading"
|
||||||
|
rsync -avz --delete public/ ariejan@mail.devroom.io:/home/ariejan/www/devroom.io/
|
||||||
|
|
||||||
|
|
||||||
|
echo "--> Done. See the results a https://www.devroom.io"
|
Loading…
Reference in New Issue
Block a user