Skip to content

Update list

Update list #547

Workflow file for this run

name: Update list
on:
push:
schedule:
- cron: 0 1 * * *
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Deno
uses: denoland/setup-deno@v1
- name: Run update script
run: deno run -A heads.ts -o heads.json
- name: Commit and push
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Updated Head List"
git push