Update push.yml

This commit is contained in:
MattTheTekie 2024-03-09 12:30:37 -05:00 committed by GitHub
commit 836edb3051
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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