|
#!/bin/sh
|
|
|
|
directorio="$HOME/web"
|
|
|
|
if [ "$PWD" != "$directorio" ]
|
|
then
|
|
cd "$directorio"
|
|
fi
|
|
|
|
git pull
|
|
|
|
bundle && bundle update
|
|
|
|
JEKYLL_ENV=production bundle exec jekyll build --trace
|
|
|
|
git add Gemfile.lock
|
|
|
|
git commit -m "Actualizar Gemfile.lock"
|
|
|
|
git push origin main
|