Merge pull request #77 from ctr26/docs #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: jupytext-changes | |
on: | |
push: | |
# pull_request: | |
jobs: | |
jupytext: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install Packages if changed files | |
run: | | |
pip install jupytext | |
- name: Synch changed files | |
run: | | |
jupytext --use-source-timestamp --sync scripts/*.py | |
# Auto commit any updated notebook files | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
# This would be more useful if the git hash were referenced? | |
commit_message: "Auto-commit updated notebooks" |