staging deploy patch

This commit is contained in:
Maidul Islam
2024-01-29 21:29:58 -05:00
parent cd83141617
commit 90a2ca7cc8
@@ -71,13 +71,16 @@ jobs:
with: with:
node-version: "20" node-version: "20"
- name: Change directory to backend and install dependencies - name: Change directory to backend and install dependencies
env:
DB_CONNECTION_URI: ${{ secrets.DB_CONNECTION_URI }}
run: | run: |
cd backend cd backend
npm install npm install
- name: Run postgres DB migration files npm run migration:latest
env: # - name: Run postgres DB migration files
DB_CONNECTION_URI: ${{ secrets.DB_CONNECTION_URI }} # env:
run: npm run migration:latest # DB_CONNECTION_URI: ${{ secrets.DB_CONNECTION_URI }}
# run: npm run migration:latest
gamma-deployment: gamma-deployment:
name: Deploy to gamma name: Deploy to gamma
runs-on: ubuntu-latest runs-on: ubuntu-latest