Add cache deletion in deploy script
This commit is contained in:
parent
232431bbf7
commit
622add9e52
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ ts-node createLayouts.ts || { echo 'Creating layouts failed' ; exit 1; }
|
|||
find -name '*.png' | parallel optipng '{}'
|
||||
npm run build || { echo 'Npm build failed' ; exit 1; }
|
||||
|
||||
rm -rf .cache
|
||||
|
||||
if [[ $1 == "groen" ]]
|
||||
then
|
||||
echo "DEPLOYING TO BUURTNATUUR!"
|
||||
|
|
Loading…
Reference in a new issue