Update .forgejo/workflows/CD.yml
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 10s
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 10s
This commit is contained in:
parent
f7b54aaa3a
commit
02506b5745
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