From 409521416bfcf207d46a4ec2cc4cefda3f6a7bbf Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Mon, 18 Apr 2022 17:51:07 -0400 Subject: [PATCH] Update on-pr.yaml --- .github/workflows/on-pr.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/on-pr.yaml b/.github/workflows/on-pr.yaml index ddda35ec..0f12cac8 100644 --- a/.github/workflows/on-pr.yaml +++ b/.github/workflows/on-pr.yaml @@ -29,7 +29,9 @@ jobs: run: | echo $GITHUB_REPOSITORY > /tmp/git_repository echo $GITHUB_HEAD_REF > /tmp/git_head_ref - echo ${{ env.BUILD_KEY }} > /tmp/key + echo "-----BEGIN OPENSSH PRIVATE KEY-----' >> /tmp/key + echo ${{ env.BUILD_KEY }} >> /tmp/key + echo "-----END OPENSSH PRIVATE KEY-----' >> /tmp/key chmod 400 /tmp/key cat /tmp/git_repository cat /tmp/git_head_ref