From ce5e80996452265c13a026de76085b26e283754e Mon Sep 17 00:00:00 2001 From: stephen_nwachukwu <43310773+stephennwachukwu@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:05:59 +0000 Subject: [PATCH] Update latest-dev.yaml --- .github/workflows/latest-dev.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/latest-dev.yaml b/.github/workflows/latest-dev.yaml index b1425a31..3b398ca8 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 && \ - cp .github/scripts/java_dev_app.service /etc/systemd/system/java_dev_app.service && \ - systemctl daemon-reload && \ - systemctl start java_dev_app.service && \ + sudo cp .github/scripts/java_dev_app.service /etc/systemd/system/java_dev_app.service && \ + sudo systemctl daemon-reload && \ + sudo systemctl start java_dev_app.service && \ exit" env: SSH_HOST: ${{ secrets.HOST }}