From da25004aa668118b7aa22acac73ffabbe17f5230 Mon Sep 17 00:00:00 2001 From: MattTheTekie <94870997+MattTheTekie@users.noreply.github.com> Date: Sun, 31 Dec 2023 08:19:48 -0500 Subject: [PATCH] Update push.yml --- .github/workflows/push.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 669f5a5..59ecf05 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -19,24 +19,30 @@ jobs: - name: remote ssh command uses: appleboy/ssh-action@v1.0.1 with: - host: ${{ secrets.IP }} + host: ${{ secrets.DEST_IP }} username: mattthetekie password : ${{ secrets.PASS }} + proxy_host: ${{ secrets.IP }} script: rm -rf /var/www/venith - + proxy_username: mattthetekie + proxy_password: ${{ secrets.PASS }} - name: Push Files via SCP uses: appleboy/scp-action@master with: - host: ${{ secrets.IP }} + host: ${{ secrets.DEST_IP }} username: mattthetekie password : ${{ secrets.PASS }} + proxy_host: ${{ secrets.IP }} 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: ${{ secrets.IP }} + host: ${{ secrets.DEST_IP }} username: mattthetekie password : ${{ secrets.PASS }} + proxy_host: ${{ secrets.IP }} script: mv /var/www/venith/github/workspace/* /var/www/venith/ -f + proxy_username: mattthetekie + proxy_password: ${{ secrets.PASS }}