seperate aws rds uri

This commit is contained in:
Maidul Islam
2024-03-22 12:38:10 -04:00
parent 2a6216b8fc
commit f0bf2f8dd0

View File

@@ -74,15 +74,11 @@ jobs:
node-version: "20" node-version: "20"
- name: Change directory to backend and install dependencies - name: Change directory to backend and install dependencies
env: env:
DB_CONNECTION_URI: ${{ secrets.DB_CONNECTION_URI }} DB_CONNECTION_URI: ${{ secrets.AWS_DB_CONNECTION_URI }}
run: | run: |
cd backend cd backend
npm install npm install
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: gamma-deployment:
name: Deploy to gamma name: Deploy to gamma
runs-on: ubuntu-latest runs-on: ubuntu-latest