From 250a97a30cdc67fb744f9e6709b3c82a44efb1f6 Mon Sep 17 00:00:00 2001 From: David Han <106771290+david-dong828@users.noreply.github.com> Date: Mon, 1 Apr 2024 21:43:50 -0230 Subject: [PATCH] Update nl_tech_jobs_app.yml --- .github/workflows/nl_tech_jobs_app.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nl_tech_jobs_app.yml b/.github/workflows/nl_tech_jobs_app.yml index df502da..6a867cd 100644 --- a/.github/workflows/nl_tech_jobs_app.yml +++ b/.github/workflows/nl_tech_jobs_app.yml @@ -31,15 +31,20 @@ jobs: - name: set env var for database test env: - PLANETSCALE_DB_HOST: ${{ secrets.HOST }} - PLANETSCALE_DB_USERNAME: ${{ secrets.USER }} - PLANETSCALE_DB_PASSWORD: ${{ secrets.PASSWD }} - PLANETSCALE_DB: ${{ secrets.DB }} + # PLANETSCALE_DB_HOST: ${{ secrets.HOST }} + # PLANETSCALE_DB_USERNAME: ${{ secrets.USER }} + # PLANETSCALE_DB_PASSWORD: ${{ secrets.PASSWD }} + # PLANETSCALE_DB: ${{ secrets.DB }} + + POSTGRES_DB_HOST: ${{ secrets.HOST_POSTGRES }} + POSTGRES_DB_USERNAME: ${{ secrets.USER_POSTGRES }} + POSTGRES_DB_PASSWORD: ${{ secrets.PASSWD_POSTGRES }} + POSTGRES_DB: ${{ secrets.DB_POSTGRES }} run: | - echo "DB_HOST=${PLANETSCALE_DB_HOST}" >> $GITHUB_ENV - echo "DB_USER=${PLANETSCALE_DB_USERNAME}" >> $GITHUB_ENV - echo "DB_PASSWD=${PLANETSCALE_DB_PASSWORD}" >> $GITHUB_ENV - echo "DB_NAME=${PLANETSCALE_DB}" >> $GITHUB_ENV + echo "DB_HOST=${POSTGRES_DB_HOST}" >> $GITHUB_ENV + echo "DB_USER=${POSTGRES_DB_USERNAME}" >> $GITHUB_ENV + echo "DB_PASSWD=${POSTGRES_DB_PASSWORD}" >> $GITHUB_ENV + echo "DB_NAME=${POSTGRES_DB}" >> $GITHUB_ENV - name: Lint with flake8 run: |