fix actions AGAIN

This commit is contained in:
informaticker 2024-11-03 23:30:50 +01:00
parent 713ceb2343
commit c1f82b896f

View File

@ -26,9 +26,8 @@ jobs:
USER: ${{ secrets.USER }}
run: |
ssh $USER@$HOST1 'rm -rf /var/www/elia.network/html/*'
scp -r \
$(ls -A | grep -v '.git') \
$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*'
- name: Reload Nginx
env:
HOST1: ${{ secrets.HOST1 }}