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:
@@ -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: |
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user