forked from web/portal
replace hugo by a self provided python script
This commit is contained in:
@@ -4,8 +4,13 @@ set -o nounset ## set -u : exit the script if you try to use an uninitialised
|
||||
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
|
||||
#set -o xtrace ## set -x : Print command traces before executing command
|
||||
|
||||
# clean up
|
||||
rm -rf public
|
||||
hugo
|
||||
|
||||
# build
|
||||
python3 build.py items.yml
|
||||
|
||||
# deploy
|
||||
rsync -v --archive --delete public/ \
|
||||
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.org/htdocs-ssl/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user