Skip to content

Commit

Permalink
Add schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarans committed Dec 5, 2024
1 parent f990274 commit 91e8cdb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/run-python-script.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: Run script

on:
workflow_dispatch: # add run button in github
schedule:
- cron: "5 13 20 10 *"

jobs:
run:
Expand Down Expand Up @@ -42,3 +44,11 @@ jobs:
to: ${{vars.HDX_PIPELINE_EMAIL_LIST}}
from: ${{secrets.HDX_PIPELINE_EMAIL_FROM}}
content_type: text/html

workflow-keepalive:
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: liskin/gh-workflow-keepalive@v1

0 comments on commit 91e8cdb

Please sign in to comment.