From 02506b5745e064fe446be02733683b5b2c6437af Mon Sep 17 00:00:00 2001 From: mafyuh Date: Sun, 9 Jun 2024 04:29:45 +0000 Subject: [PATCH] Update .forgejo/workflows/CD.yml --- .forgejo/workflows/CD.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 2.45.2