Update push.yml
This commit is contained in:
parent
927e5dcbea
commit
b0f06df23b
1 changed files with 13 additions and 0 deletions
13
.github/workflows/push.yml
vendored
13
.github/workflows/push.yml
vendored
|
|
@ -15,6 +15,18 @@ jobs:
|
|||
- name: Downloading Files
|
||||
run: |
|
||||
echo Downloading Files...
|
||||
|
||||
- name: remote ssh command
|
||||
uses: appleboy/ssh-action@v1.0.1
|
||||
with:
|
||||
host: ${{ secrets.DEST_IP }}
|
||||
username: mattthetekie
|
||||
password : ${{ secrets.PASS }}
|
||||
proxy_host: ${{ secrets.IP }}
|
||||
proxy_username: mattthetekie
|
||||
proxy_password: ${{ secrets.PASS }}
|
||||
script: rm -rf /var/www/venith
|
||||
|
||||
- name: Push Files via SCP
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
|
|
@ -26,6 +38,7 @@ jobs:
|
|||
proxy_host: ${{ secrets.IP }}
|
||||
proxy_username: mattthetekie
|
||||
proxy_password: ${{ secrets.PASS }}
|
||||
|
||||
- name: remote ssh command
|
||||
uses: appleboy/ssh-action@v1.0.1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue