diff --git a/.github/workflows/clean-database.yml b/.github/workflows/clean-database.yml index bfd884c51..a722a0db0 100644 --- a/.github/workflows/clean-database.yml +++ b/.github/workflows/clean-database.yml @@ -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