Add experimental neocities support

This commit is contained in:
mez 2025-08-29 20:07:46 +01:00
parent ee0879ef79
commit dea672a13a
3 changed files with 16 additions and 7 deletions

View file

@ -2,7 +2,11 @@ import os
import variables
buildscript = open("build.sh","w")
buildscript.write("#!/usr/bin/env bash && python3 colors.py\n\nrclone copy build " + variables.servername + ":" + variables.serverpath + " -P -L")
buildscript.write("#!/usr/bin/env bash && python3 colors.py\n\n")
if variables.neocities:
buildscript.write("neocities push")
else:
buildscript.write("rclone copy build " + variables.servername + ":" + variables.serverpath + " -P -L")
buildscript.close()
fontloc = open("build/font.css","w")