fix 2
All checks were successful
Deploy to Server / deploy (push) Successful in 28s

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-29 01:41:25 +00:00
parent 3019ec5884
commit 36139d08fc

View File

@@ -17,8 +17,8 @@ jobs:
- name: Configure SSH Key
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
echo "StrictHostKeyChecking no" > ~/.ssh/config
- name: Execute Remote Deployment
@@ -31,10 +31,10 @@ jobs:
echo "==> Navigating to project directory..."
cd ~/SousChefAI
echo "==> Pulling latest code..."
git pull origin main
git pull origin recipeGen
echo "==> Building and starting container..."
docker-compose up -d --build
docker compose up -d --build
echo "==> Pruning old images..."
docker image prune -f