refactor & build: updated desec-ip-sync, might cause breaking change
Some checks failed
/ desec-script (push) Has been cancelled
forgejo/scripts/pipeline/head This commit looks good

This commit is contained in:
devaine 2026-11-10 22:56:54 -06:00
commit 5964402f81
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
17 changed files with 576 additions and 136 deletions

16
server/desec-ip-sync/run.bash Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
if [ ! -f .env ]; then
env | grep DESEC_TOKEN >>.env
env | grep CURRENT_DOMAIN >>.env
fi
# If virtual environment does exist..
if [ ! -d .venv ]; then
python3 -m venv .venv
source .venv/bin/activate
pip install -U -r requirements.txt
pip install -U pip # Update pip to the latest version
else
source .venv/bin/activate
fi