david/jekyll-dev
david
/
jekyll-dev
Archived
1
0
Fork 0
This repository has been archived on 2023-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
jekyll-dev/jekyll.sh

11 lines
236 B
Bash

#!/bin/bash
# create new or serve existing jekyll page (/mnt/$JEKYLL_SITE)
cd /mnt
if [ ! -d "/mnt/$JEKYLL_SITE" ]; then
jekyll new $JEKYLL_SITE
fi
cd $JEKYLL_SITE
bundle install
bundle exec jekyll serve --host=0.0.0.0 --incremental