Add adminbirras octubre #99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |