Skip to content

Commit

Permalink
Update nl_tech_jobs_app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
david-dong828 authored Apr 2, 2024
1 parent 8ce90a0 commit 250a97a
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/nl_tech_jobs_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 250a97a

Please sign in to comment.