fix actions AGAIN

This commit is contained in:
informaticker 2024-11-03 23:51:18 +01:00
parent 5510565efe
commit 88de4d04e7

View File

@ -28,8 +28,6 @@ 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/*'
echo "printing dir"
ls -la
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*'
ssh $USER@$HOST1 'rm -r /var/www/elia.network/html/.gitea*'