Update .forgejo/workflows/CD.yml #307
1 changed files with 2 additions and 5 deletions
|
@ -48,8 +48,5 @@ jobs:
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo "Deploying to $host for folder $folder"
|
echo "Deploying to $host for folder $folder"
|
||||||
ssh -o StrictHostKeyChecking=no mafyuh@$host << 'EOF'
|
ssh -o StrictHostKeyChecking=no mafyuh@$host "cd /Auto-Homelab/$folder && git pull && docker-compose up -d"
|
||||||
cd /Auto-Homelab/$folder
|
done
|
||||||
git pull
|
|
||||||
docker-compose up -d
|
|
||||||
EOF
|
|
||||||
|
|
Reference in a new issue