Skip to content

Commit

Permalink
fix: db-update qa and prod (#242)
Browse files Browse the repository at this point in the history
* fix: db-update qa and prod

* fix: db-update qa and prod
  • Loading branch information
cka-y authored Jan 18, 2024
1 parent f9fef71 commit afd376f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/db-update-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ jobs:
update:
uses: ./.github/workflows/db-update.yml
needs: get_database_ip
with:
PROJECT_ID: ${{ vars.PROD_MOBILITY_FEEDS_PROJECT_ID }}
DB_NAME: ${{ vars.PROD_POSTGRE_SQL_DB_NAME }}
REGION: ${{ vars.PROD_MOBILITY_FEEDS_REGION }}
ENVIRONMENT: ${{ vars.PROD_MOBILITY_FEEDS_ENVIRONMENT }}
DB_IP: ${{needs.get_database_ip.outputs.db_ip}}
secrets:
DB_USER_PASSWORD: ${{ secrets.PROD_POSTGRE_USER_PASSWORD }}
DB_USER_NAME: ${{ secrets.PROD_POSTGRE_USER_NAME }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/db-update-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ jobs:
update:
uses: ./.github/workflows/db-update.yml
needs: get_database_ip
with:
PROJECT_ID: ${{ vars.QA_MOBILITY_FEEDS_PROJECT_ID }}
DB_NAME: ${{ vars.QA_POSTGRE_SQL_DB_NAME }}
REGION: ${{ vars.QA_MOBILITY_FEEDS_REGION }}
ENVIRONMENT: ${{ vars.QA_MOBILITY_FEEDS_ENVIRONMENT }}
DB_IP: ${{needs.get_database_ip.outputs.db_ip}}
secrets:
DB_USER_PASSWORD: ${{ secrets.QA_POSTGRE_USER_PASSWORD }}
DB_USER_NAME: ${{ secrets.QA_POSTGRE_USER_NAME }}
Expand Down

0 comments on commit afd376f

Please sign in to comment.