chore(build): 02-sign.yml did not create the repo dir

Do a quick mkdir -p repo/export before copying files to the dir

Signed-off-by: nopeitsnothing <no@anonymousplanet.net>
This commit is contained in:
nopeitsnothing
2026-06-27 23:18:20 -04:00
parent 35cc075adc
commit cba1d637bf
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -118,7 +118,9 @@ jobs:
path: repo
- name: 📂 Copy export files into repo
run: cp -v export/* repo/export/
run: |
mkdir -p repo/export
cp -v export/* repo/export/
- name: 🔏 Configure GPG commit signing
env:
+4 -1
View File
@@ -82,7 +82,10 @@ def apply_dark_theme(
# Saturation (HSV model, vectorised)
ch_min = np.min(norm, axis=2)
ch_max = np.max(norm, axis=2)
sat = np.where(ch_max > 0.001, (ch_max - ch_min) / ch_max, 0.0).astype(np.float32)
# Suppress the numpy divide error, idc
# division happens on all elements including the zero ones
with np.errstate(divide='ignore', invalid='ignore'):
sat = np.where(ch_max > 0.001, (ch_max - ch_min) / ch_max, 0.0).astype(np.float32)
# --- Masks ---
# High-saturation = image/photo content — leave untouched