cd: change db name

This commit is contained in:
Jeremy Denquin 2022-03-23 11:36:48 +01:00
parent dcd09b1666
commit b3832b9841
No known key found for this signature in database
GPG Key ID: 9E2B6D4E714D5CE0

View File

@ -175,7 +175,7 @@ jobs:
env:
ECR_REPOSITORY: ${{ steps.login-ecr.outputs.registry }}/lago-api-staging
BRANCH: ${{ github.event.inputs.api_branch }}
DATABASE_URL: postgres://lago:${{ secrets.DB_STAGING_PASSWORD }}@${{ secrets.DB_STAGING_HOST}}:5432/${{ github.event.inputs.api_branch }}
DATABASE_URL: postgres://lago:${{ secrets.DB_STAGING_PASSWORD }}@${{ secrets.DB_STAGING_HOST}}:5432/${{ github.event.inputs.preview_name }}
DOMAIN: ${{ github.event.inputs.preview_name }}
run: envsubst < ./api/porter/values.yaml > ./api/porter/env_values.yaml
- name: Configure kubectl