compiler/src/tools/autobuild/update-webserver.sh
2016-12-07 16:42:59 +00:00

9 lines
321 B
Bash

# Push buildall and postpush to postpush server
set -x
for f in postpush.pl buildall.pl build-oberon.sh; do
scp -P 5922 $f root@www:/var/lib/nethserver/ibay/githubhook/$f
ssh -p 5922 root@www "chmod +x /var/lib/nethserver/ibay/githubhook/$f"
done;
ssh -p 5922 root@www "ls -lap /var/lib/nethserver/ibay/githubhook"