Skip to content

Commit

Permalink
💚 Fix clean database script
Browse files Browse the repository at this point in the history
Need to generate db schema first
  • Loading branch information
baptisteArno committed Jan 11, 2023
1 parent 5507b8e commit 5462a1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/clean-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: '0 6 * * *'

jobs:
publish:
clean:
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -16,4 +16,5 @@ jobs:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.2
- run: pnpm i --frozen-lockfile
- run: cd ../db && pnpm db:generate && cd ../scripts
- run: pnpm db:cleanDatabase

0 comments on commit 5462a1b

Please sign in to comment.