diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 7d7ea27..23898a2 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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