2021-07-07 20:57:12 +00:00
|
|
|
name: subtree-index
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
sync-downstream:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
2021-07-07 21:08:32 +00:00
|
|
|
name: Update downstream infogulch/index repo
|
2021-07-07 20:57:12 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-07-07 21:08:32 +00:00
|
|
|
- uses: nxtlvlsoftware/git-subtree-action@1.1
|
2021-07-07 20:57:12 +00:00
|
|
|
with:
|
2021-07-07 21:08:32 +00:00
|
|
|
repo: infogulch/index
|
|
|
|
path: _notebooks
|
2021-07-07 20:57:12 +00:00
|
|
|
deploy_key: ${{ secrets.DOWNSTREAM_GITHUB_DEPLOY_KEY }}
|
|
|
|
force: true # will force push to the downstream repository
|