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