trigger script is pointless now
This commit is contained in:
parent
aa470a4eec
commit
f8dd3f918f
|
@ -2,5 +2,3 @@
|
|||
path = src/wiki
|
||||
url = https://tildegit.org/cafe/wiki
|
||||
branch = HEAD
|
||||
[submodule "wiki"]
|
||||
branch = main
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../trigger_update.php
|
2
src/wiki
2
src/wiki
|
@ -1 +1 @@
|
|||
Subproject commit e2475cb732ed543c3631c9c3133f45d83ea513c6
|
||||
Subproject commit b1e319c11111e304bc2ff790dc299ac5fe85114e
|
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
exec("date >>/tmp/a.txt");
|
||||
$secret=trim(file_get_contents('../trigger_secret.txt', FILE_USE_INCLUDE_PATH));
|
||||
if($_SERVER['QUERY_STRING']=="site=".$secret or $_SERVER['QUERY_STRING']=="wiki=".$secret){
|
||||
print("True\n");
|
||||
exec("cd ..&&./build.sh");
|
||||
}else{
|
||||
print("False\n");
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue