fix: CI pm2 reload sous root au lieu de tetardtek-brain
Some checks failed
CI/CD — Build & Deploy / Build & Deploy (push) Failing after 22s
Some checks failed
CI/CD — Build & Deploy / Build & Deploy (push) Failing after 22s
This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Restart pm2
|
- name: Restart pm2
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
run: |
|
run: |
|
||||||
su - tetardtek-brain -c 'pm2 reload tetardpg-backend --update-env'
|
pm2 reload tetardpg-backend --update-env
|
||||||
|
|
||||||
# ── Frontend ─────────────────────────────────────────────────────────────
|
# ── Frontend ─────────────────────────────────────────────────────────────
|
||||||
- name: Install & build frontend
|
- name: Install & build frontend
|
||||||
|
|||||||
Reference in New Issue
Block a user