mirror of
https://github.com/imjasonh/urls
synced 2026-07-08 07:25:25 +00:00
initial commit
This commit is contained in:
commit
b1e17be6fa
6 changed files with 81 additions and 0 deletions
26
.github/workflows/crawl.yaml
vendored
Normal file
26
.github/workflows/crawl.yaml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
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@v2
|
||||
- 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue