14 lines
186 B
Bash
Executable file
14 lines
186 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
|