From 5db1bb8857a4bd695362d10337b3e7f742b00bb3 Mon Sep 17 00:00:00 2001 From: Mounika Pacha Date: Thu, 29 Aug 2024 14:20:29 -0400 Subject: [PATCH] updates --- .github/workflows/deploy-to-github.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-github.yml b/.github/workflows/deploy-to-github.yml index 6245742..a6f867a 100644 --- a/.github/workflows/deploy-to-github.yml +++ b/.github/workflows/deploy-to-github.yml @@ -17,7 +17,9 @@ jobs: cache: maven - name: Decrypt GPG key run: | - echo "$GPG_PRIVATE_KEY" | gpg --no-tty --import + export GPG_TTY=$(tty) + echo "$GPG_PRIVATE_KEY" | gpg --no-tty --import + env: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - name: Build with Maven