Skip to content

D2L book Colab branch sync #198

D2L book Colab branch sync

D2L book Colab branch sync #198

Workflow file for this run

name: D2L book Colab branch sync
on:
# sync weekly
schedule:
- cron: '0 9 * * 1'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Add colab instruction on notebooks
run: python3 tools/add_colab_instruction.py
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "ActionBot"
git commit -am "Sync master"
git push -f origin master:colab