Skip to content

Commit

Permalink
upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Sep 15, 2024
1 parent f200999 commit 0621efe
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/genpdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,21 @@ jobs:
run: |
./gowitness file -f urls.txt
- name: List hxnshots directory
- name: Install imagemagick
run: |
echo "SS:"
ls -l screenshots
sudo apt-get install -y imagemagick
- name: Convert images to PDF
run: |
convert screenshots/*.png screenshots/output.pdf
echo "PDF created: screenshots/output.pdf"
- name: Upload PDF artifact
uses: actions/upload-artifact@v3
with:
name: slides-pdf
path: screenshots/output.pdf
- name: Print Actions run URL
run: |
echo "Download the artifact from: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 comments on commit 0621efe

Please sign in to comment.