Korrigiere YAML der Deploy-Workflows, damit Gitea sie wieder ausloest.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
4b73e5fb53
commit
cbfe374508
|
|
@ -25,13 +25,12 @@ jobs:
|
|||
git reset --hard origin/develop
|
||||
fi
|
||||
if [ ! -f .env ]; then
|
||||
cat > .env <<'EOF'
|
||||
DB_NAME=buyingagent_dev
|
||||
DB_USER=buyingagent_dev
|
||||
DB_PASSWORD=dev_password_change_me
|
||||
ENVIRONMENT=development
|
||||
BUYING_AGENT_API_PORT=8095
|
||||
EOF
|
||||
printf '%s\n' \
|
||||
'DB_NAME=buyingagent_dev' \
|
||||
'DB_USER=buyingagent_dev' \
|
||||
'DB_PASSWORD=dev_password_change_me' \
|
||||
'ENVIRONMENT=development' \
|
||||
'BUYING_AGENT_API_PORT=8095' > .env
|
||||
echo "created development .env"
|
||||
fi
|
||||
if grep -q '^BUYING_AGENT_API_PORT=' .env; then
|
||||
|
|
|
|||
|
|
@ -25,14 +25,13 @@ jobs:
|
|||
git reset --hard origin/main
|
||||
fi
|
||||
if [ ! -f .env ]; then
|
||||
cat > .env <<'EOF'
|
||||
DB_NAME=buyingagent
|
||||
DB_USER=buyingagent
|
||||
DB_PASSWORD=change_me
|
||||
ENVIRONMENT=production
|
||||
BUYING_AGENT_API_BIND=0.0.0.0
|
||||
BUYING_AGENT_API_PORT=8006
|
||||
EOF
|
||||
printf '%s\n' \
|
||||
'DB_NAME=buyingagent' \
|
||||
'DB_USER=buyingagent' \
|
||||
'DB_PASSWORD=change_me' \
|
||||
'ENVIRONMENT=production' \
|
||||
'BUYING_AGENT_API_BIND=0.0.0.0' \
|
||||
'BUYING_AGENT_API_PORT=8006' > .env
|
||||
echo "created production .env — set a unique DB_PASSWORD after first start"
|
||||
fi
|
||||
if grep -q '^BUYING_AGENT_API_BIND=' .env; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user