Pull Projections #337
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: 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 |