Transfer only successful builds?

This commit is contained in:
mez 2025-05-02 20:08:20 +01:00
parent 656e5815a0
commit ab89314a2c

View file

@ -2,7 +2,7 @@ import os
import variables
buildscript = open("build.sh","w")
buildscript.write("#!/usr/bin/env bash\n\npython3 colors.py\n\nrclone copy build " + variables.servername + ":" + variables.serverpath + " -P -L")
buildscript.write("#!/usr/bin/env bash && python3 colors.py\n\nrclone copy build " + variables.servername + ":" + variables.serverpath + " -P -L")
buildscript.close()
if not os.path.exists("build/user.css"):