Skip to content

Run 2 statistical notebooks #24

Run 2 statistical notebooks

Run 2 statistical notebooks #24

Workflow file for this run

name: Run 2 statistical notebooks
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install jupyter nbconvert
pip install pandas
- name: Run notebooks
run: |
jupyter nbconvert --to notebook --execute *.ipynb
- name: Commit changes
uses: stefanzweifel/[email protected]
with:
github_token: ${{ secrets.CDS_TOKEN_FOR_GIT_ACTION }}
file_pattern: '--update'
commit_message: 'Update generated files'
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.CDS_TOKEN_FOR_GIT_ACTION }}
branch: main