#!/bin/sh directorio="$HOME/web" if [ "$PWD" != "$directorio" ] then cd "$directorio" fi git pull > update.log bundle >> update.log && bundle update >> update.log JEKYLL_ENV=production bundle exec jekyll build --trace >> update.log