23 lines
288 B
Bash
Executable File
23 lines
288 B
Bash
Executable File
#!/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
|
|
|
|
git add Gemfile.lock
|
|
|
|
git commit -m "Actualizar Gemfile.lock"
|
|
|
|
git push origin main
|