fix actions AGAIN

This commit is contained in:
informaticker 2024-11-03 23:33:37 +01:00
parent c1f82b896f
commit 795886a30b

View File

@ -26,6 +26,7 @@ jobs:
USER: ${{ secrets.USER }} USER: ${{ secrets.USER }}
run: | run: |
ssh $USER@$HOST1 'rm -rf /var/www/elia.network/html/*' ssh $USER@$HOST1 'rm -rf /var/www/elia.network/html/*'
chmod -R 777 .
scp -r . $USER@$HOST1:/var/www/elia.network/html/ scp -r . $USER@$HOST1:/var/www/elia.network/html/
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 - name: Reload Nginx