TSK-1282: provide gpg passphrase during key import

This commit is contained in:
Mustapha Zorgati 2020-11-02 12:39:51 +01:00
parent 9433f387c0
commit 0328922428
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ jobs:
name: release / deploy / commit
before_install: |
openssl aes-256-cbc -K "$encrypted_21a5d40e43a3_key" -iv "$encrypted_21a5d40e43a3_iv" \
-in "ci/codesigning.asc.enc" -out "ci/codesigning.asc" -d && gpg --import "ci/codesigning.asc" \
-in "ci/codesigning.asc.enc" -out "ci/codesigning.asc" -d \
&& gpg -v --import "ci/codesigning.asc" --passphrase "$GPG_PASSPHRASE" \
&& nvm install "$NODE_VERSION"
install: ci/change_version.sh -m .
&& ( cd web && npm install )