diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..affb484 --- /dev/null +++ b/update.sh @@ -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 \ No newline at end of file