Merge pull request 'Update .forgejo/workflows/CD.yml' (#307) from mafyuh-patch-1 into main
Some checks are pending
Continuous Deployment / deploy (push) Waiting to run

Reviewed-on: #307
This commit is contained in:
Matt Reeves 2024-06-09 04:30:59 +00:00
commit 2be4c83b40

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