notebook/.github/workflows/main.yml

22 lines
473 B
YAML

name: subtree-index
on: [push]
jobs:
sync-downstream:
runs-on: ubuntu-latest
name: Update downstream index repo
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: nxtlvlsoftware/git-subtree-action@1
with:
repo: 'infogulch/index'
path: '_notebooks'
deploy_key: ${{ secrets.DOWNSTREAM_GITHUB_DEPLOY_KEY }}
force: true # will force push to the downstream repository