Skip to content

D2L book Colab branch sync #105

D2L book Colab branch sync

D2L book Colab branch sync #105

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@v3
- name: Set up Python3
uses: actions/setup-python@v4
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