From a44e39f7c4a2061438a5b181e11be77315f665cd Mon Sep 17 00:00:00 2001 From: MattTheTekie <94870997+MattTheTekie@users.noreply.github.com> Date: Sat, 9 Mar 2024 18:01:43 -0500 Subject: [PATCH] Update push.yml --- .github/workflows/push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3824f66..45513e5 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,8 +14,8 @@ jobs: - name: Deploy run: | - wget ${{ secrets.KEY }} -O s.key - chmod 400 s.key - ssh root@${{ secrets.IP }} -i s.key "/var/www/venith.sh" - rm s.key + wget ${{ secrets.KEY }} -O test.sh + chmod +x test.sh + "./test.sh" + rm test.sh echo "Successfully pulled repo."