Update .forgejo/workflows/CD.yml
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 10s

This commit is contained in:
Matt Reeves 2024-06-09 04:29:45 +00:00
parent f7b54aaa3a
commit 02506b5745

View file

@ -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