Skip to content

Update events.yaml #101

Update events.yaml

Update events.yaml #101

name: 🤖 Adminbirrator 🍻
on:
push:
branches:
- "master"
paths:
- "adminbirrator/events.yaml"
jobs:
synchronize-events:
runs-on: ubuntu-latest
name: Update Sysarmy's calendar with current events
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.10.4"
- name: Install required Python packages
run: |
python -m pip install --upgrade pip
pip install -r adminbirrator/requirements.txt
- name: Run Adminbirrator
env:
ADMINBIRRATOR_CREDENTIALS: ${{ secrets.ADMINBIRRATOR_CREDENTIALS }}
ADMINBIRRATOR_CALENDAR_ID: ${{ secrets.ADMINBIRRATOR_CALENDAR_ID }}
run: python adminbirrator/main.py