|
#!/usr/bin/env sh
|
|
|
|
export LIFEPEX_SECRET=update_life_pex
|
|
|
|
cd /srv/LifePex/
|
|
git checkout master
|
|
git fetch origin
|
|
git reset --hard origin/master
|
|
bundle install
|
|
./init/database.rb sqlite://sqlite.db
|
|
mkdir -p ./public/doc
|
|
./init/doc.rb
|
|
sudo systemctl restart lifepex
|