Skip to content

Add first OpenOps meeting with concrete topic. (#195) #208

Add first OpenOps meeting with concrete topic. (#195)

Add first OpenOps meeting with concrete topic. (#195) #208

Workflow file for this run

name: Run yaml2ics
on:
push:
branches:
- main
workflow_dispatch:
jobs:
default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10.5
uses: actions/setup-python@v4
with:
python-version: "3.10.5"
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ics==0.8.0.dev0
pip install yaml2ics==0.2
pip install pyyaml
- name: Run communitycall.py
run: |
python communitycall.py
- name: Execute yaml2ics
run: |
mkdir ./calendar
yaml2ics main.yml > ./calendar/scs.ics
yaml2ics openops.yml > ./calendar/openops.ics
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./calendar
force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: 'Update SCS community calendar'