action
This commit is contained in:
@@ -13,23 +13,23 @@ jobs:
|
||||
runs-on: ubuntu
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
uses: https://gitea.com/actions/checkout@v3
|
||||
|
||||
- name: Copy Files to Server
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: 6.6.6.66
|
||||
username: quant
|
||||
password: ${{ secrets.DEPLOY_PASSWORD }}
|
||||
password: 123quant-speed
|
||||
source: ".,!**/.git/**,!**/.trae/**,!**/.vscode/**,!**/logs/**,!**/__pycache__/**,!**/*.md"
|
||||
target: "/home/quant/data/dev/host_message-main/"
|
||||
|
||||
- name: Setup and Start Application
|
||||
uses: appleboy/ssh-action@master
|
||||
uses: https://gitea.com/actions/appleboy-ssh-action@v1
|
||||
with:
|
||||
host: 6.6.6.66
|
||||
username: quant
|
||||
password: ${{ secrets.DEPLOY_PASSWORD }}
|
||||
password: 123quant-speed
|
||||
script: |
|
||||
cd /home/quant/data/dev/host_message-main/
|
||||
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Periodic Health Check
|
||||
uses: appleboy/ssh-action@master
|
||||
uses: https://gitea.com/actions/appleboy-ssh-action@v1
|
||||
with:
|
||||
host: 6.6.6.66
|
||||
username: quant
|
||||
|
||||
Reference in New Issue
Block a user