Update plugins on build
This commit is contained in:
parent
d2352cd3a4
commit
b4dc45cb3b
1 changed files with 10 additions and 1 deletions
11
build
11
build
|
@ -14,6 +14,15 @@ set -e
|
||||||
pyvenv env
|
pyvenv env
|
||||||
env/bin/pip install -r requirements.txt
|
env/bin/pip install -r requirements.txt
|
||||||
|
|
||||||
git clone --recursive https://github.com/getpelican/pelican-plugins plugins/ || echo "Plugins already installed!"
|
if [ -d "plugins/" ]; then
|
||||||
|
echo ">> Updating plugins"
|
||||||
|
cd plugins/
|
||||||
|
git pull
|
||||||
|
git submodule update --recursive
|
||||||
|
cd -
|
||||||
|
else
|
||||||
|
git clone --recursive https://github.com/getpelican/pelican-plugins plugins/
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
|
|
Reference in a new issue