@@ -14,9 +14,9 @@ jobs:
|
|||||||
- name: Copy files to VPS
|
- name: Copy files to VPS
|
||||||
uses: appleboy/scp-action@master
|
uses: appleboy/scp-action@master
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.VPS_HOST }}
|
||||||
username: ${{ secrets.USER }}
|
username: ${{ secrets.VPS_USER }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.VPS_PASSWORD }}
|
||||||
port: 22
|
port: 22
|
||||||
source: "./*"
|
source: "./*"
|
||||||
target: "/root/IR-Node-Setup"
|
target: "/root/IR-Node-Setup"
|
||||||
@@ -25,9 +25,9 @@ jobs:
|
|||||||
- name: Execute SSH Commands
|
- name: Execute SSH Commands
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.VPS_HOST }}
|
||||||
username: ${{ secrets.USER }}
|
username: ${{ secrets.VPS_USER }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.VPS_PASSWORD }}
|
||||||
port: 22
|
port: 22
|
||||||
script: |
|
script: |
|
||||||
cd /root/IR-Node-Setup
|
cd /root/IR-Node-Setup
|
||||||
|
|||||||
Reference in New Issue
Block a user