Cleanup Projects #23925
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cleanup Projects | |
on: | |
schedule: | |
- cron: "*/5 * * * *" | |
jobs: | |
cleanup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
- name: Install Dependencies | |
run: bun install | |
- name: Cleanup Projects | |
env: | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
INSTANT_POSTGRES_API_KEY: ${{ secrets.INSTANT_POSTGRES_API_KEY }} | |
run: bun run packages/db/src/cleanup-projects.ts |