Skip to content

Commit

Permalink
set up cron to run twice a month
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenpp7 authored Oct 19, 2024
1 parent 46b7faa commit 8dcdb3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-index.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Update index.html

on:
#schedule:
# Run once every 5 minutes (GitHub Actions' minimum interval)
# - cron: "*/5 * * * *"
schedule:
- cron: "0 0 1,15 * *" # Runs at 00:00 on the 1st and 15th of every month
push:
branches:
- master # Trigger the workflow on push to the master branch
Expand Down

0 comments on commit 8dcdb3a

Please sign in to comment.