All checks were successful
Deploy production / deploy (push) Successful in 2m39s
- home schema: home.links (seeded, owner-editable) and home.snapshots (written by a host collector) - deploy/home-collector: stdlib Python + systemd user timer (60s) that snapshots /proc stats, docker containers, systemd timers, service HTTP checks and ntfy topics via a limited role - extras/newtab-extension: MV3 new-tab override, zipped to static/newtab-extension.zip - owner-only pages skip Google Analytics; /trackers/health#body anchor for weigh-ins
14 lines
477 B
Bash
Executable File
14 lines
477 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Zip the extension into static/newtab-extension.zip (served at /newtab-extension.zip).
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
python3 - <<'PY'
|
|
import os, zipfile
|
|
out = '../static/newtab-extension.zip'
|
|
with zipfile.ZipFile(out, 'w', zipfile.ZIP_DEFLATED) as z:
|
|
for name in sorted(os.listdir('newtab-extension')):
|
|
if name != 'build.sh':
|
|
z.write(os.path.join('newtab-extension', name))
|
|
print('wrote static/newtab-extension.zip')
|
|
PY
|