Skip to content

Commit

Permalink
Added database url
Browse files Browse the repository at this point in the history
  • Loading branch information
dallascrichmond committed Dec 16, 2024
1 parent 1dac732 commit 72a8478
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
needs: [init, database]
environment: ${{ inputs.environment }}
runs-on: ubuntu-22.04
env:
DATABASE_URL: postgres://${{ secrets.DB_USER }}:${{ secrets.DB_PASSWORD }}@${{ vars.OC_SERVER }}:${{ secrets.DB_PORT }}/${{ secrets.DB_NAME }}
steps:
- name: Deploy Backend
uses: bcgov-nr/[email protected]
Expand Down
2 changes: 0 additions & 2 deletions backend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ objects:
secretKeyRef:
name: nr-nmp-keycloak
key: SSO_CLIENT_SECRET
- name: DATABASE_URL
value: ${POSTGRES_HOST}://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:5432/${POSTGRES_DB}?schema=public
- name: SSO_REDIRECT_URL
value: https://${APP}-${TARGET}-${COMPONENT}.apps.silver.devops.gov.bc.ca/auth/callback
- name: FRONTEND_URL
Expand Down

0 comments on commit 72a8478

Please sign in to comment.