david/jekyll-dev
david
/
jekyll-dev
Archived
1
0
Fork 0

updated jekyll.sh

This commit is contained in:
david 2020-10-31 00:45:08 +01:00
parent d659b37a20
commit 03a8361d54
1 changed files with 2 additions and 3 deletions

View File

@ -7,10 +7,9 @@ export PATH=$PATH:$HOME/.gem/bin
if [ ! -d "/mnt/$JEKYLL_SITE" ]; then
cd /mnt
jekyll new $JEKYLL_SITE
cd $JEKYLL_SITE
bundle install --path $HOME/.gem
fi
# build and serve
cd /mnt/$JEKYLL_SITE
bundle exec jekyll serve --host=0.0.0.0 --incremental
bundle install --path $HOME/.gem
bundle exec jekyll serve --host=0.0.0.0 --watch