action
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user