diff options
Diffstat (limited to 'site-updater.sh')
-rwxr-xr-x | site-updater.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/site-updater.sh b/site-updater.sh index 3fb039b..288043c 100755 --- a/site-updater.sh +++ b/site-updater.sh @@ -23,6 +23,7 @@ do fi cd ${DIR} && \ rm -rf /var/www/im.${DOMAIN} && \ + if [ ! -f Gemfile.lock ]; then bundle install; fi && \ bundle exec jekyll build -c current-config.yml -q chown -R www-data:www-data /var/www/im.${DOMAIN} rm -rf /var/www/im.${DOMAIN}/files ${DIR}/current-config.yml |