Skip to content

Pull Projections

Pull Projections #337

name: Pull Projections
on:
workflow_dispatch:
schedule:
- cron: '00 9 * * *'
jobs:
pull_projections:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
update-pip: "false"
update-setuptools: "false"
update-wheel: "false"
path: requirements.txt
- name: Run python script
working-directory: ./
shell: bash -l {0}
run: |
python pullprojections.py
- name: Commit new changes
working-directory: ./
shell: bash
run: |
git config user.name github-actions
git config user.email [email protected]
git commit -a -m "Update projections document"
git push