build(build): modified run.bash for compatibility with docker-compose
All checks were successful
/ desec-script (push) Successful in 1m33s

This commit is contained in:
devaine 2026-03-06 00:04:15 -06:00
commit 6a3428a49c
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
4 changed files with 13 additions and 5 deletions

View file

@ -1,5 +1,10 @@
#!/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