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