Fix: replace heredoc with echo for YAML compatibility
All checks were successful
Build and Deploy / deploy (push) Successful in 12s
All checks were successful
Build and Deploy / deploy (push) Successful in 12s
This commit is contained in:
parent
1e49b66e5c
commit
c374133e91
1 changed files with 1 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue