X-Git-Url: https://git.ladys.computer/Status/blobdiff_plain/d1f61cae690e87cf2a64747b788eb1d9285f17f8..2390017adca2ddb9ab9e910c2db3e92caa1728df:/post-receive?ds=sidebyside diff --git a/post-receive b/post-receive index b07ad47..286b34e 100755 --- a/post-receive +++ b/post-receive @@ -4,7 +4,7 @@ from glob import iglob 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 @@ -14,10 +14,10 @@ from warnings import warn 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"