Initial github actions workflow for CI/CD

This commit is contained in:
2025-08-08 16:38:18 +03:00
parent 0f5196053f
commit a538504319
3 changed files with 65 additions and 0 deletions

17
.github/workflows/deploy.yml vendored Normal file
View 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