diff --git a/.forgejo/workflows/CD.yml b/.forgejo/workflows/CD.yml index b4b3428..a31d632 100644 --- a/.forgejo/workflows/CD.yml +++ b/.forgejo/workflows/CD.yml @@ -48,8 +48,5 @@ jobs: esac echo "Deploying to $host for folder $folder" - ssh -o StrictHostKeyChecking=no mafyuh@$host << 'EOF' - cd /Auto-Homelab/$folder - git pull - docker-compose up -d -EOF + ssh -o StrictHostKeyChecking=no mafyuh@$host "cd /Auto-Homelab/$folder && git pull && docker-compose up -d" + done