diff --git a/.github/workflows/latest-dev.yaml b/.github/workflows/latest-dev.yaml index 5f0144ee..b1425a31 100644 --- a/.github/workflows/latest-dev.yaml +++ b/.github/workflows/latest-dev.yaml @@ -63,9 +63,9 @@ jobs: git stash && \ git checkout dev && \ git pull && \ - sudo cp .github/scripts/java_dev_app.service /etc/systemd/system && \ - sudo systemctl daemon-reload && \ - sudo systemctl start java_dev_app.service && \ + cp .github/scripts/java_dev_app.service /etc/systemd/system/java_dev_app.service && \ + systemctl daemon-reload && \ + systemctl start java_dev_app.service && \ exit" env: SSH_HOST: ${{ secrets.HOST }}