auto git
This commit is contained in:
parent
2022de8338
commit
333bbd9af3
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
/* ssh-keygen -t rsa -b 4096 -C "deploy */
|
||||
|
||||
echo("<br />\n");
|
||||
chdir('/var/www/Boto');
|
||||
touch(GITPULLMASTER);
|
||||
?>
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /home/user/www/example.com/repository
|
||||
while true ; do
|
||||
if [[ -f GITPULLMASTER ]] ; then
|
||||
git pull > gitpull.log 2>&1
|
||||
mv GITPULLMASTER GITPULLMASTER.`date +"%Y%m%d%H%M%S"`
|
||||
fi
|
||||
sleep 10
|
||||
done
|
|
@ -1,16 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Sariboto</title>
|
||||
<style>
|
||||
</style>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Twitch Chat Counter</title>
|
||||
<link rel="stylesheet" href="https://ez-css.now.sh">
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="count"></h1>
|
||||
<div>
|
||||
<center>
|
||||
<marquee><p>Type 1 in the chat!</p></marquee>
|
||||
<em>(broadcaster only)</em>
|
||||
<br />
|
||||
<code>!start-count | !end-count | !clear-count</code>
|
||||
<br />
|
||||
<br />
|
||||
</center>
|
||||
<small id="status"></small>
|
||||
<h1 id="count">Waiting for count...</h1>
|
||||
<h3 id="users"></h3>
|
||||
<script src="tmi.min.js"></script>
|
||||
<script src="boto.js"></script>
|
||||
</div>
|
||||
<script src="tmi.min.js"></script>
|
||||
<script src="boto.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue