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
Some checks are pending
Continuous Deployment / deploy (push) Waiting to run
Reviewed-on: #307
This commit is contained in:
commit
2be4c83b40
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Reference in a new issue