Skip to content

Commit

Permalink
Update flake_vendorhash.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf authored Jun 5, 2024
1 parent 022a6ce commit 71f988f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/flake_vendorhash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,10 @@ jobs:
echo "body=$(realpath body)" >> "$GITHUB_OUTPUT"
- name: Commit
run: |
export GPG_PASS="${{ secrets.OCMBOT_SIGNING_KEY_PASS }}"
export GPG_PASS=
cat << EOF >> gpg-wrapper
#!/bin/bash
pflag=""
if [[ -n "$GPG_PASS" ]]; then
pflag="--passphrase ${GPG_PASS}"
fi
gpg --yes --batch $pflag --pinentry-mode loopback $@ <&0
gpg --passphrase "${{ secrets.OCMBOT_SIGNING_KEY_PASS }}" --yes --batch $pflag --pinentry-mode loopback $@ <&0
exit $?
EOF
chmod +x gpg-wrapper
Expand Down

0 comments on commit 71f988f

Please sign in to comment.