Update push.yml

This commit is contained in:
MattTheTekie 2024-03-09 16:43:10 -05:00 committed by GitHub
commit 352cdc23b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,9 +12,9 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Downloading Files
- name: Pushing Files
run: |
echo Downloading Files...
echo Pushing Files...
- name: remote ssh command
uses: appleboy/ssh-action@v1.0.1
@ -23,24 +23,4 @@ jobs:
username: demon
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
username: demon
port: 6666
password : ${{ secrets.PASS }}
source: "/home/runner/work/VENITH.NET/VENITH.NET/"
target: "/var/www/venith/"
- name: remote ssh command
uses: appleboy/ssh-action@v1.0.1
with:
host: 194.62.248.193
username: demon
port: 6666
password : ${{ secrets.PASS }}
script: mv /var/www/venith/github/workspace/* /var/www/venith/ -f
script: rm -rf /var/www/venith && cd /var/www/ && git clone https://github.com/VenithNET/VENITH.NET/ && mv VENITH.NET && venith