Create main.yml
This commit is contained in:
parent
7b02cb1546
commit
1995ba0e7b
21
.github/workflows/main.yml
vendored
Normal file
21
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user