Skip to content

Commit ff9e5f4

Browse files
authored
Change deployment source and restart service script
Updated deployment source and restart script for service.
1 parent cf29ba8 commit ff9e5f4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/deploy-binary.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
host: ${{ secrets.DROPLET_IP }}
4444
username: ${{ secrets.DROPLET_USER }}
4545
key: ${{ secrets.SSH_PRIVATE_KEY }}
46-
source: havril
46+
source: havril_bin
4747
target: /platform
4848

4949
- name: Restart service
@@ -52,4 +52,7 @@ jobs:
5252
host: ${{ secrets.DROPLET_IP }}
5353
username: ${{ secrets.DROPLET_USER }}
5454
key: ${{ secrets.SSH_PRIVATE_KEY }}
55-
script: systemctl restart havril
55+
script: |
56+
mv /platform/havril_bin /platform/havril
57+
chmod +x /platform/havril
58+
systemctl restart havril

0 commit comments

Comments
 (0)