]> Lady’s Gitweb - Status/blobdiff - post-receive
Add Lady’s Computer button to pages
[Status] / post-receive
index b07ad47ddfd28b92fae4bd8b7f0caaa58323404b..286b34e8bc001837eaa85aea8e2f475b2667d21c 100755 (executable)
@@ -4,7 +4,7 @@ from glob import iglob
 from itertools import starmap
 import json
 from os import mkdir
 from itertools import starmap
 import json
 from os import mkdir
-from os.path import exists
+from os.path import exists, expanduser
 from pathlib import Path
 import re
 from shutil import copy2, rmtree
 from pathlib import Path
 import re
 from shutil import copy2, rmtree
@@ -14,10 +14,10 @@ from warnings import warn
 from xml.dom import XHTML_NAMESPACE
 from xml.dom.minidom import getDOMImplementation, parseString
 
 from xml.dom import XHTML_NAMESPACE
 from xml.dom.minidom import getDOMImplementation, parseString
 
-GIT_DIRECTORY = "/home/USERNAME/Status.git"
-BUILD_DIRECTORY = "/home/USERNAME/status.site.example/.build"
-PUBLIC_DIRECTORY = "/home/USERNAME/status.site.example/public"
-PUBLIC_URL = "https://status.site.example"
+GIT_DIRECTORY = "/srv/git/Status"
+BUILD_DIRECTORY = expanduser("~/lady/status/.build")
+PUBLIC_DIRECTORY = expanduser("~/lady/status/public")
+PUBLIC_URL = "https://status.ladys.computer"
 LANG = "en"
 LIVE_BRANCH = "live"
 
 LANG = "en"
 LIVE_BRANCH = "live"
 
This page took 0.071588 seconds and 4 git commands to generate.