X-Git-Url: https://git.ladys.computer/x_status_git/blobdiff_plain/b07270ecbc9ca480c69b7085cf445a0358e22df4..a5da9db50960213ba706932818b2f4fc7c347cde:/post-receive diff --git a/post-receive b/post-receive index f631236..17a8d22 100755 --- a/post-receive +++ b/post-receive @@ -27,7 +27,10 @@ if stdin.read().split()[-1] == f"refs/heads/{LIVE_BRANCH}": # Set up the build directory. if exists(BUILD_DIRECTORY): rmtree(BUILD_DIRECTORY) - run(["git", "clone", "--local", "--branch", "live", GIT_DIRECTORY, BUILD_DIRECTORY], capture_output=True, encoding="utf-8") + cloneresult = run(["git", "clone", "--local", "--branch", LIVE_BRANCH, GIT_DIRECTORY, BUILD_DIRECTORY], capture_output=True, encoding="utf-8") + # if cloneresult.stderr: + # print(cloneresult.stderr) + cloneresult.check_returncode() # Set up various containers. months = {}