fix actions AGAIN

This commit is contained in:
informaticker 2024-11-03 23:36:56 +01:00
parent 779f9ced7a
commit cfb8d83d00

View File

@ -26,6 +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/*'
echo "printing dir"
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:/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*'