Add first OpenOps meeting with concrete topic. (#195) #208
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: 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' |