Compare commits

...

2 commits

Author SHA1 Message Date
2be4c83b40 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
2024-06-09 04:30:59 +00:00
02506b5745 Update .forgejo/workflows/CD.yml
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 10s
2024-06-09 04:29:45 +00:00

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