added git pull before the server starts
This commit is contained in:
parent
997d25d7f1
commit
09eeabb118
|
@ -40,6 +40,11 @@ def resources(filename):
|
||||||
return bottle.static_file(filename, root="resources")
|
return bottle.static_file(filename, root="resources")
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
print("pulling latest github push")
|
||||||
|
status = subprocess.call(["git", "pull", "origin"])
|
||||||
|
if status is not 0:
|
||||||
|
print("error pulling froom github...")
|
||||||
|
exit()
|
||||||
print("generating FR doc now with pandoc")
|
print("generating FR doc now with pandoc")
|
||||||
status = subprocess.call(["pandoc", "puredata_fr.md", "-o", "index_fr.html"])
|
status = subprocess.call(["pandoc", "puredata_fr.md", "-o", "index_fr.html"])
|
||||||
print("generating EN doc now with pandoc")
|
print("generating EN doc now with pandoc")
|
||||||
|
|
Loading…
Reference in New Issue