fix database migration caller on deploy scripts

annoying niggle of using containerized setup is binaries you'd think would be in a path across all user contexts... just isn't
This commit is contained in:
2026-02-13 11:03:23 -06:00
parent 545b317caa
commit a1996419d6
2 changed files with 4 additions and 2 deletions

View File

@@ -92,7 +92,8 @@ jobs:
- name: Run Database Migrations
run: |
cd /var/www/html/milsim-site-v4/api
sudo -u nginx npx db-migrate up -e prod
npx db-migrate up -e prod
chown -R nginx:nginx .
- name: Reset File Permissions
run: |

View File

@@ -92,7 +92,8 @@ jobs:
- name: Run Database Migrations
run: |
cd /var/www/html/milsim-site-v4/api
sudo -u nginx npx db-migrate up -e prod
npx db-migrate up -e prod
chown -R nginx:nginx .
- name: Reset File Permissions
run: |