Skip to content

Update Calendar

Update Calendar #282

Workflow file for this run

name: Update Calendar
on:
schedule:
- cron: "0 0 * * *" # 1 checks
# - cron: "0 3-9 * * *" # 6 checks
# - cron: "0 10-18/2 * * *" # 4 checks
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- run: pip install -r requirements.txt
- name: fetching LFS files
run: |
git lfs pull
- name: checking for new calendar
run: |
python -m bubt_cnr -calendar
shell: bash
- name: pushing commits (if neccessary)
run: |
chmod +x commit.sh
sh commit.sh
shell: bash