Skip to content

Commit

Permalink
Use manual run instead of EndBug/add-and-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
Baschdl committed Jan 30, 2024
1 parent 24c93bb commit 56ffdbe
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/push_to_overleaf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ jobs:
ls -lah labproject/
cp labproject/plots/* overleaf/figures/
- name: Commit and push changes to Overleaf
uses: EndBug/add-and-commit@v9
with:
author_name: "Github Actions"
author_email: ""
cwd: 'overleaf/'
add: 'figures/'
message: "Update figures automatically"
run: |
cd ${{ github.workspace }}
cd ../overleaf/
git config --global user.name "Github Actions"
git config --global user.email ""
git add figures/
git commit -m "Update figures automatically"
git push

0 comments on commit 56ffdbe

Please sign in to comment.