1
0
Fork 0

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
1 changed files with 6 additions and 0 deletions

6
roagen.php Normal file → Executable file
View File

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