Update push.yml
This commit is contained in:
parent
47b5804d36
commit
836edb3051
1 changed files with 6 additions and 3 deletions
9
.github/workflows/push.yml
vendored
9
.github/workflows/push.yml
vendored
|
|
@ -19,16 +19,18 @@ jobs:
|
|||
- name: remote ssh command
|
||||
uses: appleboy/ssh-action@v1.0.1
|
||||
with:
|
||||
host: 194.62.248.193:6666
|
||||
host: 194.62.248.193
|
||||
username: demon
|
||||
input_port: 6666
|
||||
password : ${{ secrets.PASS }}
|
||||
script: rm -rf /var/www/venith
|
||||
|
||||
- name: Push Files via SCP
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: 194.62.248.193:6666
|
||||
host: 194.62.248.193
|
||||
username: demon
|
||||
input_port: 6666
|
||||
password : ${{ secrets.PASS }}
|
||||
source: "/home/runner/work/VENITH.NET/VENITH.NET/"
|
||||
target: "/var/www/venith/"
|
||||
|
|
@ -36,8 +38,9 @@ jobs:
|
|||
- name: remote ssh command
|
||||
uses: appleboy/ssh-action@v1.0.1
|
||||
with:
|
||||
host: 194.62.248.193:6666
|
||||
host: 194.62.248.193
|
||||
username: demon
|
||||
input_port: 6666
|
||||
password : ${{ secrets.PASS }}
|
||||
script: mv /var/www/venith/github/workspace/* /var/www/venith/ -f
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue