Update list #547
This file contains hidden or 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 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 |