diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 83cc0a8..9890a38 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -22,7 +22,7 @@ jobs: username: quant password: ${{ secrets.DEPLOY_PASSWORD }} source: ".,!**/.git/**,!**/.trae/**,!**/.vscode/**,!**/logs/**,!**/__pycache__/**,!**/*.md" - target: "~/host_message" + target: "/home/quant/data/dev/host_message-main/" - name: Setup and Start Application uses: appleboy/ssh-action@master @@ -31,7 +31,7 @@ jobs: username: quant password: ${{ secrets.DEPLOY_PASSWORD }} script: | - cd ~/host_message + cd /home/quant/data/dev/host_message-main/ # Ensure python dependencies are installed # Check if pip3 exists, otherwise use pip @@ -60,7 +60,7 @@ jobs: username: quant password: ${{ secrets.DEPLOY_PASSWORD }} script: | - cd ~/host_message + cd /home/quant/data/dev/host_message-main/ # Run start.sh which includes health check logic # If app is down or unhealthy, it will restart it