diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 2a32ab7..ee136bd 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -31,11 +31,5 @@ jobs: echo "printing dir" ls -la chmod -R 777 . - scp -r . deploy@172.16.0.161:/var/www/elia.network/html/ + scp -r . deploy@172.16.0.161:/home/deploy/ ssh $USER@$HOST1 'rm -r /var/www/elia.network/html/.git*' - - name: Reload Nginx - env: - HOST1: ${{ secrets.HOST1 }} - USER: ${{ secrets.USER }} - run: | - ssh $USER@$HOST1 'sudo systemctl reload nginx'