Skip to content

Commit

Permalink
Make run and push to overleaf compatible with multiple run files
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelgloeckler committed Feb 4, 2024
1 parent ff9b731 commit fd40b2f
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ jobs:
python3 labproject/run.py
cd ..
cp labproject/plots/* overleaf/figures/
- name: Check for Errors
run: |
if [ $? -ne 0 ]; then
echo "One or more scripts failed."
exit 1
fi
- name: Commit and push changes to Overleaf
run: |
cd ${{ github.workspace }}
Expand All @@ -52,4 +59,4 @@ jobs:
else
git commit -m "Update figures automatically"
git push
fi
fi

0 comments on commit fd40b2f

Please sign in to comment.