blob: f605b390f86e4241bba4091e57886d161053c73d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/env python2
import os
status = 0
status += os.system("git pull git://standingwithresilience.branchable.com/")
#status += os.system("git pull fairlystable-guest:/srv/git/standingwithresilience")
if status != 0:
exit(status)
status += os.system("git push git://standingwithresilience.branchable.com/")
status += os.system("git gc --prune=0")
if status != 0:
exit(status)
status += os.system("ikiwiki --rebuild ../wiki ../html")
if status != 0:
exit(status)
status += os.system("freesitemgr -c freesitemgr -v -l freesitemgr.log -r 0 update")
print "Done."
|