build(build): modified run.bash for compatibility with docker-compose
All checks were successful
/ desec-script (push) Successful in 1m33s
All checks were successful
/ desec-script (push) Successful in 1m33s
This commit is contained in:
parent
295ebe86a6
commit
6a3428a49c
4 changed files with 13 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue