action
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
|||||||
username: quant
|
username: quant
|
||||||
password: ${{ secrets.DEPLOY_PASSWORD }}
|
password: ${{ secrets.DEPLOY_PASSWORD }}
|
||||||
source: ".,!**/.git/**,!**/.trae/**,!**/.vscode/**,!**/logs/**,!**/__pycache__/**,!**/*.md"
|
source: ".,!**/.git/**,!**/.trae/**,!**/.vscode/**,!**/logs/**,!**/__pycache__/**,!**/*.md"
|
||||||
target: "~/host_message"
|
target: "/home/quant/data/dev/host_message-main/"
|
||||||
|
|
||||||
- name: Setup and Start Application
|
- name: Setup and Start Application
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
username: quant
|
username: quant
|
||||||
password: ${{ secrets.DEPLOY_PASSWORD }}
|
password: ${{ secrets.DEPLOY_PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
cd ~/host_message
|
cd /home/quant/data/dev/host_message-main/
|
||||||
|
|
||||||
# Ensure python dependencies are installed
|
# Ensure python dependencies are installed
|
||||||
# Check if pip3 exists, otherwise use pip
|
# Check if pip3 exists, otherwise use pip
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
username: quant
|
username: quant
|
||||||
password: ${{ secrets.DEPLOY_PASSWORD }}
|
password: ${{ secrets.DEPLOY_PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
cd ~/host_message
|
cd /home/quant/data/dev/host_message-main/
|
||||||
|
|
||||||
# Run start.sh which includes health check logic
|
# Run start.sh which includes health check logic
|
||||||
# If app is down or unhealthy, it will restart it
|
# If app is down or unhealthy, it will restart it
|
||||||
|
|||||||
Reference in New Issue
Block a user