diff --git a/.github/workflows/generate-pdf.yml b/.github/workflows/generate-pdf.yml index be8308c..9a6d7e3 100644 --- a/.github/workflows/generate-pdf.yml +++ b/.github/workflows/generate-pdf.yml @@ -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