Añadir 'update.sh'

This commit is contained in:
Echedelle López Romero 2021-01-07 22:58:41 +00:00
parent ff4ad2c326
commit e1bb5d16e4
1 changed files with 14 additions and 0 deletions

14
update.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/sh
directorio="$HOME"
if [[ ! "$PWD" = "$directorio" ]]
then
cd "$directorio"
fi
git pull
bundle && bundle update
JEKYLL_ENV=production bundle exec jekyll build --trace