diff --git a/.github/workflows/deb.yml b/.github/workflows/deb.yml index 2267a3187..2edc1eb3a 100644 --- a/.github/workflows/deb.yml +++ b/.github/workflows/deb.yml @@ -60,9 +60,11 @@ jobs: - name: Setup Repository if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} + env: + PRIVATE_KEY: ${{ secrets.DEBIAN_GPG_PRIVATE }} run: | git clone https://github.com/v2fly/debian.git archive - echo ${{ secrets.DEBIAN_GPG_PRIVATE }} | base64 -d > private.key + echo -n $PRIVATE_KEY | base64 -d > private.key gpg --import --batch private.key gpg -K cd archive