1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-20 08:16:55 -05:00

CI: fix private key (#2001)

This commit is contained in:
Loyalsoldier 2022-09-20 23:07:50 +08:00 committed by GitHub
parent 6b43995e9d
commit f3c56b4a95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,9 +60,11 @@ jobs:
- name: Setup Repository - name: Setup Repository
if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
env:
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 ${{ secrets.DEBIAN_GPG_PRIVATE }} | base64 -d > private.key echo -n $PRIVATE_KEY | base64 -d > private.key
gpg --import --batch private.key gpg --import --batch private.key
gpg -K gpg -K
cd archive cd archive