mirror of
https://github.com/PucelaBits/websegura.git
synced 2024-07-13 08:12:42 +02:00
add scheduled executions
This commit is contained in:
parent
2d1b617342
commit
ea618a100f
7
.github/workflows/crawl.yml
vendored
7
.github/workflows/crawl.yml
vendored
@ -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
|
||||
|
3
.github/workflows/web_build.yml
vendored
3
.github/workflows/web_build.yml
vendored
@ -1,4 +1,7 @@
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
Loading…
Reference in New Issue
Block a user