From 33aac64e55bc5e3692d38f167da0f6cff0461c81 Mon Sep 17 00:00:00 2001 From: Ajinkya Rajandekar <145996984+ajinkyaraj-23@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:53:57 +0000 Subject: [PATCH] update environment for linux --- .github/workflows/release.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7759624447..fbe69a7c1a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,6 +20,7 @@ jobs: create-release-linux: runs-on: ubuntu-latest needs: create-draft-release + environment: "Production – umami-v2" steps: - name: Check out code uses: actions/checkout@v4 @@ -43,9 +44,9 @@ jobs: - name: Import GPG key uses: crazy-max/ghaction-import-gpg@v6 with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.GPG_PASSPHRASE }} - fingerprint: ${{secrets.GPG_KEY_ID }} + gpg_private_key: ${{ env.GPG_PRIVATE_KEY }} + passphrase: ${{ env.GPG_PASSPHRASE }} + fingerprint: ${{env.GPG_KEY_ID }} git_user_signingkey: true - name: Generate deb and rpm files @@ -56,7 +57,7 @@ jobs: working-directory: apps/desktop run: | sudo apt install -y dpkg-sig - dpkg-sig --sign builder -k ${{ secrets.GPG_KEY_ID }} ./dist/*.deb + dpkg-sig --sign builder -k ${{ env.GPG_KEY_ID }} ./dist/*.deb rpm --addsign ./dist/*.rpm - name: Upload deb and rpm files