mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-03-23 13:24:21 +00:00
Initial github actions workflow for CI/CD
This commit is contained in:
17
.github/workflows/deploy.yml
vendored
Normal file
17
.github/workflows/deploy.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: deploy
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: prox-1
|
||||
steps:
|
||||
- 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
|
||||
Reference in New Issue
Block a user