Skip to content

Commit

Permalink
Fix bug action
Browse files Browse the repository at this point in the history
  • Loading branch information
merendamattia committed Dec 28, 2024
1 parent 2b4e5f8 commit 8a559f2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/compile-latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ on:
push:
branches:
- relazione-latex
pull_request:
branches:
- main
- dev
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -39,9 +37,8 @@ jobs:
cp relazione/main.pdf relazione.pdf
git config --global user.name "GitHub Actions Bot"
git config --global user.email "actions@github.com"
git pull origin dev
git add relazione.pdf
git commit -m "Aggiornata relazione (PDF)"
git push origin HEAD:dev
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8a559f2

Please sign in to comment.