Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: run-python
name: run-cron

on: workflow_dispatch
on:
schedule:
- cron: '0 0 * * 0'

workflow_dispatch:

jobs:
build:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -15,4 +19,7 @@ jobs:
python -m pip install --upgrade pip
pip install requests
- run: |
python cron/difficulty.py
python cron/update_questions.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: update questions (cron job)
27 changes: 0 additions & 27 deletions cron/difficulty.py

This file was deleted.

Loading