summaryrefslogtreecommitdiff
path: root/update/update.sh
blob: ba1a69cd9ed1c80eb7cc48be3398ba53620f438e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

#
# The idea:
#  * git-pull the repository
#  * uwsgi will automatically restart the application as needed
#

# Get to our root directory
UPDDIR=$(dirname $0)
cd $UPDDIR/..

# Pull changes from the it repo
git pull -q|grep -v "Already up-to-date"