Restart the service
Some checks failed
Build and copy to prod / build-and-copy (push) Failing after 36s
Some checks failed
Build and copy to prod / build-and-copy (push) Failing after 36s
This commit is contained in:
parent
a0b22059a0
commit
3dc5e5cf7f
@ -19,4 +19,6 @@ jobs:
|
|||||||
key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.SSH_KEY }}
|
||||||
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
|
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
|
||||||
- name: Copy to prod
|
- name: Copy to prod
|
||||||
run: scp -rp dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:oopsie/
|
run: scp -rp dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:oopsie/
|
||||||
|
- name: Restart the service
|
||||||
|
run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -o RemoteCommand="systemctl --user restart oopsie_service.service"
|
Loading…
Reference in New Issue
Block a user