restart service on deploymenet
Build and Deploy Java Project / build-and-deploy (push) Failing after 49s
Build and Deploy Java Project / build-and-deploy (push) Failing after 49s
This commit is contained in:
@@ -42,8 +42,8 @@ jobs:
|
||||
- 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
|
||||
host: ${{ secrets.SERVER_IP }}
|
||||
username: ${{ secrets.SERVER_USERNAME }}
|
||||
password: ${{ secrets.SERVER_PASSWORD }}
|
||||
script: |
|
||||
echo "${{ secrets.SERVER_PASSWORD }}" | sudo -S systemctl restart notifier
|
||||
Reference in New Issue
Block a user