From a346f06d498ac22cc72e27ed34e1580a3c85fd49 Mon Sep 17 00:00:00 2001 From: Andrew Rioux Date: Mon, 20 Oct 2025 00:16:54 -0400 Subject: [PATCH] fix: allow deleting ssh key and remove debug logs --- .gitea/workflows/deploy.yaml | 1 + build/build-article.sh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index efb7f08..bfbe129 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -26,4 +26,5 @@ jobs: - name: Remove SSH key if: always() run: | + test -f ssh-key && chmod 600 ssh-key test -f ssh-key && shred ssh-key diff --git a/build/build-article.sh b/build/build-article.sh index 8952aa2..006678e 100755 --- a/build/build-article.sh +++ b/build/build-article.sh @@ -23,7 +23,5 @@ cp "$TEX_FILE" "$TEX_BUILD" pushd "${TEX_BUILD}" pdflatex "$(basename "$TEX_FILE")" > /dev/null 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")" rm "$TEX_FILE"