fix actions AGAIN

This commit is contained in:
informaticker 2024-11-03 23:39:21 +01:00
parent 972e6876aa
commit af25294c4a

View File

@ -31,11 +31,5 @@ jobs:
echo "printing dir" echo "printing dir"
ls -la ls -la
chmod -R 777 . chmod -R 777 .
scp -r . deploy@172.16.0.161:/var/www/elia.network/html/ scp -r . deploy@172.16.0.161:/home/deploy/
ssh $USER@$HOST1 'rm -r /var/www/elia.network/html/.git*' ssh $USER@$HOST1 'rm -r /var/www/elia.network/html/.git*'
- name: Reload Nginx
env:
HOST1: ${{ secrets.HOST1 }}
USER: ${{ secrets.USER }}
run: |
ssh $USER@$HOST1 'sudo systemctl reload nginx'