Skip to content

Commit

Permalink
Fix cron reset-database (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
cregourd authored Sep 23, 2024
1 parent b947bf5 commit ba3c7cc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/reset-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ jobs:
uses: actions/checkout@v2
- name: Install dependencies
run: yarn install
- name: Create .env file in exemple
run: |
rm apps/exemple/.env
touch apps/exemple/.env
echo POSTGRES_URL_NON_POOLING=${{ secrets.POSTGRES_URL_NON_POOLING }} >> apps/exemple/.env
echo POSTGRES_URL=${{ secrets.POSTGRES_URL }} >> apps/exemple/.env
- name: Reset database
env:
POSTGRES_URL_NON_POOLING: ${{ env.POSTGRES_URL_NON_POOLING }}
POSTGRES_URL: ${{ env.POSTGRES_URL }}
run: yarn reset-database

0 comments on commit ba3c7cc

Please sign in to comment.