Update Data #36
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: Update Data | |
on: | |
workflow_dispatch: | |
schedule: | |
# Every hour | |
- cron: "0 * * * *" | |
push: | |
paths: | |
- "data/**" | |
- ".github/workflows/data.yml" | |
- "scrape/**" | |
permissions: | |
contents: write | |
jobs: | |
data: | |
name: Check the repos | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- run: | | |
git config --global user.name "Update Data" | |
git config --global user.email "[email protected]" | |
- run: bun scrape/images.ts |