From 52c1d19019943a02ce34433c6e7489ad3536a319 Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Thu, 1 Feb 2024 14:27:12 -0800 Subject: [PATCH] wip: encode 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 f8d3cf3ab..7d0cd2490 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -105,7 +105,7 @@ jobs: run: git --no-pager diff - name: Sign commit hash run: | - echo "${{ secrets.DEPLOY_PRIV_KEY }}" > /tmp/privkey + echo -n "${{ secrets.DEPLOY_PRIV_KEY }}" | base64 --decode > /tmp/privkey updater signing sign -k /tmp/privkey "${{ github.sha }}" rm /tmp/privkey # - name: Commit and push