1
0
Fork 0
mirror of https://github.com/imjasonh/urls synced 2026-07-08 07:25:25 +00:00
urls/.github/workflows/crawl.yaml
2023-01-27 11:24:26 -05:00

26 lines
490 B
YAML

name: crawl
on:
workflow_dispatch:
push:
branches: ['main']
paths-ignore: ['README.md']
schedule:
- cron: '0 * * * *' # Hourly
permissions:
contents: write
jobs:
crawl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
./crawl.sh
git config user.name "Automated"
git config user.email "actions@users.noreply.github.com"
git add -A
git commit -m "update: $(date -u)" || exit 0
git push