Skip to content

Commit

Permalink
name change
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Dec 16, 2024
1 parent ff66b24 commit 0df3edc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main

- run: mkdir -p pdf
- run: mkdir -p ./report/pdfs

- run: nix build ./report

- run: cp result/* pdf
- run: cp result/* ./report/pdfs

- run: git rm ./report/pdfs || echo "No pdfs directory yet."

- name: Commit and push PDFs
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git add pdf/*.pdf
git add ./report/pdfs/*.pdf
git commit -m "Update generated PDFs" || echo "No changes to commit"
git push

0 comments on commit 0df3edc

Please sign in to comment.