Browse Source

CI: fix base64 command to decode private key (#2002)

Loyalsoldier 3 years ago
parent
commit
a3a9e46069
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/deb.yml

+ 1 - 1
.github/workflows/deb.yml

@@ -64,7 +64,7 @@ jobs:
           PRIVATE_KEY: ${{ secrets.DEBIAN_GPG_PRIVATE }}
           PRIVATE_KEY: ${{ secrets.DEBIAN_GPG_PRIVATE }}
         run: |
         run: |
           git clone https://github.com/v2fly/debian.git archive
           git clone https://github.com/v2fly/debian.git archive
-          echo -n $PRIVATE_KEY | base64 -d > private.key
+          echo -n $PRIVATE_KEY | base64 -d -i > private.key
           gpg --import --batch private.key
           gpg --import --batch private.key
           gpg -K
           gpg -K
           cd archive
           cd archive