Skip to content

Create data

Create data #22

Workflow file for this run

name: Create data
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
pip install requests
- name: Run notebooks
run: |
jupyter nbconvert --to notebook --execute create_data.ipynb
- name: Debugging command execution
run: |
pwd
ls -la
git add data.csv
git status
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4.1.0
with:
github_token: ${{ secrets.BIOG_REF_TOKEN }}
file_pattern: 'data.csv'
commit_message: 'Create data.csv'
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.BIOG_REF_TOKEN }}
branch: master