Skip to content

Commit 7392bdc

Browse files
committed
feat: refined setup expeeriments structure scripts, kept setup orcid the same, testing provence tracking script
0 parents  commit 7392bdc

25 files changed

Lines changed: 1211 additions & 0 deletions
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Convert Notebooks to Markdown
2+
on:
3+
push:
4+
paths: ['**.ipynb']
5+
jobs:
6+
convert:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: write
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- name: Set up Python
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: '3.x'
17+
18+
- name: Install jupyter
19+
run: pip install jupyter
20+
21+
- name: Convert notebooks to markdown
22+
run: |
23+
find . -name "*.ipynb" ! -name "*.working.ipynb" -exec jupyter nbconvert --to markdown {} \;
24+
25+
- name: Commit files
26+
run: |
27+
git config --local user.email "chris@trau.co"
28+
git config --local user.name "iTrauco"
29+
git add -A
30+
git commit -m "Convert notebooks to markdown" || echo "No changes to commit"
31+
git push
32+

0 commit comments

Comments
 (0)