TipiLAN-i mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
464 B

name: deploy
on:
workflow_call:
jobs:
deploy:
runs-on: prox-1
steps:
- name: Configure sudo password
run: echo '${{ secrets.USER_AUTH }}' | sudo -S echo "Sudo configured"
- name: Restart NextJS service
run: sudo systemctl restart nextjs.service
- name: Reload systemd daemon
run: sudo systemctl daemon-reload
- name: Check service status
run: sudo systemctl status nextjs.service --no-pager