fix: allow deleting ssh key and remove debug logs
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 29s

This commit is contained in:
Andrew Rioux 2025-10-20 00:16:54 -04:00
parent c6e6c58313
commit a346f06d49
Signed by: andrew.rioux
GPG Key ID: 9B8BAC47C17ABB94
2 changed files with 1 additions and 2 deletions

View File

@ -26,4 +26,5 @@ jobs:
- name: Remove SSH key - name: Remove SSH key
if: always() if: always()
run: | run: |
test -f ssh-key && chmod 600 ssh-key
test -f ssh-key && shred ssh-key test -f ssh-key && shred ssh-key

View File

@ -23,7 +23,5 @@ cp "$TEX_FILE" "$TEX_BUILD"
pushd "${TEX_BUILD}" pushd "${TEX_BUILD}"
pdflatex "$(basename "$TEX_FILE")" > /dev/null pdflatex "$(basename "$TEX_FILE")" > /dev/null
popd popd
ls -al "$TEX_BUILD"
ls -al "$TEX_BUILD/$(basename "${TEX_FILE%.tex}.pdf")"
cp "$TEX_BUILD/$(basename "${TEX_FILE%.tex}.pdf")" "$(dirname "$TEX_FILE")" cp "$TEX_BUILD/$(basename "${TEX_FILE%.tex}.pdf")" "$(dirname "$TEX_FILE")"
rm "$TEX_FILE" rm "$TEX_FILE"