Fetch Conferences #816
This file contains hidden or 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: Fetch Conferences | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| jobs: | |
| update_research: | |
| name: Fetch Conferences | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.7 | |
| - name: Install packages | |
| run: python -m pip install --upgrade --requirement ./fetch-conferences/requirements.txt | |
| - name: Fetch conferences | |
| run: python ./fetch-conferences/fetch-conferences.py | |
| - name: Commit updated conferences | |
| uses: stefanzweifel/git-auto-commit-action@v4 | |
| with: | |
| file_pattern: "_data/conferences.yaml" | |
| commit_message: "Fetch Conferences" | |
| push_options: --force |