Made addons optional
This commit is contained in:
parent
9c5c2b71e4
commit
698354eb08
1 changed files with 6 additions and 2 deletions
|
@ -13,7 +13,11 @@ pip install -r requirements.txt
|
||||||
echo 'Building site 👷 '
|
echo 'Building site 👷 '
|
||||||
pelican -D ${PELICAN_CONTENT_FOLDER:=content} -o ${PELICAN_OUTPUT_FOLDER:=output} -s ${PELICAN_CONFIG_FILE:=publishconf.py}
|
pelican -D ${PELICAN_CONTENT_FOLDER:=content} -o ${PELICAN_OUTPUT_FOLDER:=output} -s ${PELICAN_CONFIG_FILE:=publishconf.py}
|
||||||
|
|
||||||
echo 'Running add-ons ➕➕ '
|
if [ -f addons.py ]; then
|
||||||
python addons.py
|
echo 'Running add-ons ➕➕ '
|
||||||
|
python addons.py
|
||||||
|
else
|
||||||
|
echo 'No add-ons configured'
|
||||||
|
fi
|
||||||
|
|
||||||
echo 'Build complete 🎉🎉 🕺💃 '
|
echo 'Build complete 🎉🎉 🕺💃 '
|
||||||
|
|
Loading…
Reference in a new issue