Update push.yml

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

View file

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