File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,10 @@ jobs:
49
49
base64 -di | \
50
50
gpg --batch --import --passphrase "${{ secrets.PASSPHRASE }}"
51
51
52
- - name : Sign the index
53
- run : |
54
- export GPG_TTY=$(tty) # fix `gpg: signing failed: Inappropriate ioctl for device`
55
- gpg \
56
- --pinentry-mode=loopback \
57
- --passphrase "${{ secrets.PASSPHRASE }}" \
58
- --detach-sign firmware/binaries/index.json \
59
- > firmware/binaries/index.json.sig
52
+ # disable gpg pass prompt
53
+ # https://stackoverflow.com/questions/49072403/suppress-the-passphrase-prompt-in-gpg-command
54
+ - name : sign the json
55
+ run : gpg --pinentry-mode=loopback --passphrase "${{ secrets.PASSPHRASE }}" --output firmware/binaries/index.json.sig --detach-sign firmware/binaries/index.json
60
56
61
57
- name : create the gzip
62
58
run : gzip --keep firmware/binaries/index.json
You can’t perform that action at this time.
0 commit comments