Skip to content

Commit

Permalink
[fix] remove temporary files
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmchiu committed Sep 7, 2024
1 parent ba60ee7 commit 69706f7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/generate-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,14 @@ jobs:
"pdf_output/network_abusing-intrusion-detection.pdf" \
"pdf_output/network_malware.pdf" \
"pdf_output/network_tor.pdf" \
"textbook_full_tmp.pdf"
"textbook_full.pdf"
- name: Inject page numbers back into the pdf
run: pdfjam --pagecommand '\pagestyle{plain}' --outfile textbook_full.pdf textbook_full_tmp.pdf
run: pdfjam --pagecommand '\pagestyle{plain}' --outfile textbook_full.pdf textbook_full.pdf

- name: Remove temporary files
run: |
rm -rf pdf_output
- name: Upload PDF as an artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 69706f7

Please sign in to comment.