From 844280f62e9d79bfcf3d1a7bf28b465187af636f Mon Sep 17 00:00:00 2001 From: Muhammet Ali Topcu <42305974+alitpc25@users.noreply.github.com> Date: Sun, 26 Nov 2023 14:56:39 +0300 Subject: [PATCH] Update deploy.yml Tried remove leading and trailing whitespaces in GPG_PRIVATE_KEY --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 707ff19d..e39a4f65 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} run: | cd ./resq/backend/resq/ - echo "$GPG_PRIVATE_KEY" | gpg --import + echo "$GPG_PRIVATE_KEY" | tr -d '[:space:]' | gpg --import gpg --quiet --batch --yes --decrypt --passphrase="$RESQ_PASSPHRASE" --output project_env_prod.tar.gz project_env_prod.tar.gz.gpg tar xzvf project_env_prod.tar.gz