From 90a2ca7cc834f665008081a7da97de1d8c3613e2 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Mon, 29 Jan 2024 21:29:58 -0500 Subject: [PATCH] staging deploy patch --- .github/workflows/build-staging-and-deploy.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-staging-and-deploy.yml b/.github/workflows/build-staging-and-deploy.yml index 755742666..6d50389fa 100644 --- a/.github/workflows/build-staging-and-deploy.yml +++ b/.github/workflows/build-staging-and-deploy.yml @@ -71,13 +71,16 @@ jobs: with: node-version: "20" - name: Change directory to backend and install dependencies + env: + DB_CONNECTION_URI: ${{ secrets.DB_CONNECTION_URI }} run: | cd backend npm install - - name: Run postgres DB migration files - env: - DB_CONNECTION_URI: ${{ secrets.DB_CONNECTION_URI }} - run: npm run migration:latest + npm run migration:latest + # - name: Run postgres DB migration files + # env: + # DB_CONNECTION_URI: ${{ secrets.DB_CONNECTION_URI }} + # run: npm run migration:latest gamma-deployment: name: Deploy to gamma runs-on: ubuntu-latest