add scheduled executions

This commit is contained in:
Guido García 2021-01-15 15:21:16 +01:00
parent 2d1b617342
commit ea618a100f
2 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,6 @@
on:
# TODO enable scheduled execution
# schedule:
# - cron: 0/5 * * * *
schedule:
- cron: "0 0 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@ -16,6 +15,8 @@ jobs:
- name: Crawl information about public sites
run: $GITHUB_WORKSPACE/crawl.sh
# The resulting commit will not trigger another GitHub Actions Workflow run.
# This is due to limitations set by GitHub.
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update information about public sites

View File

@ -1,4 +1,7 @@
on:
schedule:
- cron: "0 1 * * *"
push:
branches:
- main