💚 Fix clean database script
Need to generate db schema first
This commit is contained in:
3
.github/workflows/clean-database.yml
vendored
3
.github/workflows/clean-database.yml
vendored
@ -5,7 +5,7 @@ on:
|
||||
- cron: '0 6 * * *'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
clean:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
@ -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
|
||||
|
Reference in New Issue
Block a user