From a80a33e9de084202cec494e4eb9c0ab75889dfc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= Date: Tue, 15 Aug 2023 14:19:49 +0400 Subject: [PATCH] chore: import gpg key in workflow --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65af50f48..05338d112 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,13 @@ jobs: with: go-version: 1.20.6 + - name: Import GPG key + id: import_gpg + uses: crazy-max/ghaction-import-gpg@v5 + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.GPG_PASSPHRASE }} + - name: Building static assets run: (cd web/client && yarn install --immutable && yarn build) @@ -38,6 +45,7 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} docker: runs-on: ubuntu-latest if: contains(toJson(github.event.commits), '[action]') == false