Updated roagen.php

o Calls udpate.sh to
   1. commit dn42-rpki-export.json
   2. push repository to all remotes
This commit is contained in:
netravnen 2018-12-10 17:34:16 +01:00 committed by Christoffer
parent 199881dc79
commit d036c4bd82

6
roagen.php Normal file → Executable file
View file

@ -154,4 +154,10 @@ $fp = fopen('dn42-rpki-export.json', 'w');
fwrite($fp, $json); fwrite($fp, $json);
fclose($fp); fclose($fp);
// Commit update JSON file
echo shell_exec("");
// Push to all git remote repositories
echo shell_exec("./update.sh 2>&1");
?> ?>