summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/github_listener/handle_request
blob: 2df05ae0cc2c1542c60377c44859f6a381cb6203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Possible Shell Vars
#   WEBDIR 
#   HOSTFOLDER
set -euf
HOSTFOLDER=${HOSTFOLDER:-../../hosts}
cd $(dirname $(readlink -f $0))
cd "$HOSTFOLDER"
git pull origin master  >&2
cd - >&2

echo "sorry for keeping you waiting, please be patient"
../../bin/create-supernode-tar
echo "almost done..."
../../bin/create-host-tar
echo "Thank you for your patience!"