add forced update option
This commit is contained in:
parent
f9f7f955c5
commit
9145acb929
1 changed files with 3 additions and 2 deletions
|
@ -3,9 +3,10 @@
|
|||
cd -- "$(dirname -- "${BASH_SOURCE[0]}" )"
|
||||
|
||||
if ! [[ $(git submodule update --checkout themes/launcher) ]]; then
|
||||
|
||||
# no updates
|
||||
exit 0
|
||||
if ! [[ ${FORCE_HUGO_UPDATE} == 1 ]]; then
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
hugo || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue