Skip to content

catchSheep is building colab notebooks from regular notebooks #6

catchSheep is building colab notebooks from regular notebooks

catchSheep is building colab notebooks from regular notebooks #6

name: Build google colab notebooks
run-name: ${{ github.actor }} is building colab notebooks from regular notebooks
on: [push]
jobs:
add_nbs:
runs-on: ubuntu-latest
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Run the colab build script
run: python build_scripts/colab_nb_builder.py --directory notebooks
- name: Configuring git
run: |
git config --local user.name "jpadfield"
git add ./colab_notebooks
git commit -m "Updating the repository GitHub html pages in the docs folder"
- name: Push changes # push the output folder to your repo
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true
- run: echo "Job status is ${{ job.status }}"