restart service on deploymenet
Build and Deploy Java Project / build-and-deploy (push) Failing after 57s

This commit is contained in:
allison
2026-08-28 12:42:16 -05:00
parent a48bf9fc8c
commit bd5409ae5a
+9
View File
@@ -38,3 +38,12 @@ jobs:
source: "target/notifier.jar"
target: "/opt/notifier"
strip_components: 1
- name: Restart Service on Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
script: |
sudo systemctl restart notifier