From 6056f1803acdddf0fdd85df90064a6264d706db5 Mon Sep 17 00:00:00 2001 From: Mounika Pacha Date: Thu, 29 Aug 2024 14:40:24 -0400 Subject: [PATCH] updates --- .github/workflows/deploy-to-github.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-github.yml b/.github/workflows/deploy-to-github.yml index 72c570e..42d1fec 100644 --- a/.github/workflows/deploy-to-github.yml +++ b/.github/workflows/deploy-to-github.yml @@ -17,9 +17,12 @@ jobs: cache: maven - name: Decrypt GPG key run: | - export GPG_TTY=$(tty) + gpgconf --kill gpg-agent + gpgconf --launch gpg-agent + export GPG_TTY=$(tty) || true echo "$GPG_PRIVATE_KEY" | gpg --no-tty --import - gpg --list-secret-keys + gpg --list-secret-keys + env: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - name: Build with Maven