3131 with :
3232 fetch-depth : 1
3333 repository : openproblems-bio/website
34+ ref : main
3435 path : website
3536 token : ${{ secrets.GH_ACTIONS_WEBSITE_PAT }}
3637
@@ -51,18 +52,18 @@ jobs:
5152 pip install -U --editable ./openproblems[process]
5253 python -c "import openproblems"
5354
54- - name : Parse results
55+ - name : Parse metadata
5556 run : |
56- rm -r website/content/benchmarks/*/
57- python openproblems/workflow/generate_website_markdown.py website/content/benchmarks
58- cp openproblems/main.bib website/static/bibliography
57+ python openproblems/workflow/parse_metadata.py website/results
58+ cp openproblems/main.bib website/bibliography/library.bib
5959 cd website
6060 git diff --exit-code --quiet || echo "CHANGED=true" >> $GITHUB_ENV
6161
62- - name : Upload markdown
62+
63+ - name : Upload json
6364 uses : actions/upload-artifact@main
6465 with :
65- name : markdown
66+ name : json
6667 path : website/content/benchmarks
6768
6869 - name : Push to openproblems-bio/website
@@ -88,11 +89,11 @@ jobs:
8889 )
8990 uses : peter-evans/create-pull-request@v4
9091 with :
92+ base : main
9193 branch : ${{ env.UPDATE_BRANCH_NAME }}
9294 delete-branch : true
93- base : main
9495 title : ' [auto] Update benchmark content'
95- reviewers : scottgigante-immunai,rcannood,dburkhardt
96+ reviewers : scottgigante-immunai,rcannood
9697 path : ' ./website'
9798 token : ${{ secrets.GH_ACTIONS_WEBSITE_PAT }}
9899 author : " openproblems-bio <singlecellopenproblems@protonmail.com>"
0 commit comments