New autobuild process

This commit is contained in:
David Brown 2016-12-07 16:29:01 +00:00
parent 2e436a2d9e
commit 442f377b7e
5 changed files with 50 additions and 30 deletions

View file

@ -0,0 +1,9 @@
# Push buildall and postpush to postpush server
set -x
for f in postpush.pl buildall.pl; 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"