Fix: replace heredoc with echo for YAML compatibility
All checks were successful
Build and Deploy / deploy (push) Successful in 12s

This commit is contained in:
Gunnar Magholder 2026-03-05 16:55:46 +01:00
parent 1e49b66e5c
commit c374133e91

View file

@ -34,10 +34,7 @@ jobs:
tar --exclude='.git' --exclude='.forgejo' -czf - . | ssh $SERVER "cd ${DEPLOY_PATH} && tar -xzf -"
# .env Datei für docker-compose erstellen
ssh $SERVER "cat > ${DEPLOY_PATH}/.env << EOF
APP_NAME=${APP_NAME}
DOMAIN=${DOMAIN}
EOF"
ssh $SERVER "echo 'APP_NAME=${APP_NAME}' > ${DEPLOY_PATH}/.env && echo 'DOMAIN=${DOMAIN}' >> ${DEPLOY_PATH}/.env"
# Anwendung deployen
ssh $SERVER "cd ${DEPLOY_PATH} && docker compose up -d --build --force-recreate"