web/update.sh

14 lines
184 B
Bash
Raw Normal View History

2021-01-07 23:58:41 +01:00
#!/bin/sh
directorio="$HOME"
if [[ ! "$PWD" = "$directorio" ]]
then
cd "$directorio"
fi
git pull
bundle && bundle update
JEKYLL_ENV=production bundle exec jekyll build --trace