diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ab75bda..e5b01b0 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -28,8 +28,6 @@ jobs: USER: ${{ secrets.USER }} run: | 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 ssh $USER@$HOST1 'rm -r /var/www/elia.network/html/.git*' + ssh $USER@$HOST1 'rm -r /var/www/elia.network/html/.gitea*'