Skip to content

Commit 9703fcc

Browse files
committed
revert systemd restart from gh action
1 parent bbb5bb0 commit 9703fcc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rubyonrails.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838

3939
- name: Reload application
4040
run: |
41-
ssh nwspk-production "sudo systemctl reload nwspk-web.service"
42-
ssh nwspk-production "sudo systemctl reload nwspk-sidekiq.service"
41+
ssh nwspk-production "sudo systemctl restart nwspk-web.service"
42+
ssh nwspk-production "sudo systemctl restart nwspk-sidekiq.service"
4343
4444
deploy-staging:
4545
runs-on: ubuntu-22.04
@@ -74,5 +74,5 @@ jobs:
7474

7575
- name: Reload application
7676
run: |
77-
ssh nwspk-staging "sudo systemctl reload nwspk-web.service"
78-
ssh nwspk-staging "sudo systemctl reload nwspk-sidekiq.service"
77+
ssh nwspk-staging "sudo systemctl restart nwspk-web.service"
78+
ssh nwspk-staging "sudo systemctl restart nwspk-sidekiq.service"

0 commit comments

Comments
 (0)