Stealing #1764
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: Stealing | |
on: | |
push: | |
branches: | |
- main | |
schedule: # daily at 8 am | |
- cron: "0 8 * * *" | |
jobs: | |
scrape: | |
runs-on: ubuntu-latest | |
environment: stealing | |
env: | |
TURSO_URL: ${{ secrets.TURSO_URL }} | |
TURSO_TOKEN: ${{ secrets.TURSO_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v1.2.0 | |
- name: Install dependencies | |
run: bun install | |
# - name: Install browser | |
# run: bunx playwright install --with-deps chromium | |
- name: execute | |
run: bun run src/cron.ts |