Skip to content

Daily database cleanup #201

Daily database cleanup

Daily database cleanup #201

name: Daily database cleanup
on:
schedule:
- cron: '0 6 * * *'
jobs:
clean:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/scripts
env:
DATABASE_URL: '${{ secrets.DATABASE_URL }}'
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.2
- run: pnpm i --frozen-lockfile
- run: pnpm turbo run db:cleanDatabase