2020-11-18 19:45:17 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
echo "--> Getting ready to deploy devroom.io"
|
|
|
|
|
|
|
|
echo " - Cleaning up"
|
|
|
|
rm -rf public/
|
|
|
|
|
|
|
|
echo " - Compiling"
|
|
|
|
hugo
|
|
|
|
|
|
|
|
echo " - Uploading"
|
2021-03-20 08:48:53 +00:00
|
|
|
rsync -avz --delete public/ ariejan@10.0.2.40:/home/ariejan/www/devroom.io/
|
2020-11-18 19:45:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
echo "--> Done. See the results a https://www.devroom.io"
|