No team IAM & Security this week. (#328) #336
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.x | |
uses: actions/setup-python@v4 | |
with: | |
#python-version: "3.10" | |
cache: 'pip' # caching pip dependencies | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install ics==0.8.0.dev0 | |
pip install ics-vtimezones==2020.1 | |
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 | |
yaml2ics iaas.yml > ./calendar/iaas.ics | |
yaml2ics iam_n_sec.yml > ./calendar/iam_n_sec.ics | |
yaml2ics ops.yml > ./calendar/ops.ics | |
yaml2ics sig_central_api.yml > ./calendar/sig_central_api.ics | |
yaml2ics sig_community.yml > ./calendar/sig_community.ics | |
yaml2ics sig_docs.yml > ./calendar/sig_docs.ics | |
yaml2ics sig_monitoring.yml > ./calendar/sig_monitoring.ics | |
yaml2ics sig_standard_cert.yml > ./calendar/sig_standard_cert.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' |