Skip to content

Commit 694ba8b

Browse files
authored
Sign temporally repo with both keys
1 parent 8fd9a2b commit 694ba8b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/download-and-test-external.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ on:
3030
secrets:
3131
GPG_KEY1:
3232
required: true
33-
GPG_PASSPHRASE1:
33+
GPG_KEY2:
3434
required: true
3535
ACCESS_TOKEN:
3636
required: true
@@ -152,7 +152,11 @@ jobs:
152152
uses: crazy-max/ghaction-import-gpg@v6
153153
with:
154154
gpg_private_key: ${{ secrets.GPG_KEY1 }}
155-
passphrase: ${{ secrets.GPG_PASSPHRASE1 }}
155+
156+
- name: Import GPG key
157+
uses: crazy-max/ghaction-import-gpg@v6
158+
with:
159+
gpg_private_key: ${{ secrets.GPG_KEY2 }}
156160

157161
- name: Checkout Armbian OS scripts
158162
uses: actions/checkout@v4
@@ -320,7 +324,7 @@ jobs:
320324
cd build
321325
mkdir -p output/repository/public
322326
sed -i 's|"gpgProvider": ".*"|"gpgProvider": "gpg2"|g' tools/repository/aptly.conf
323-
tools/repository/repo -i output/debs-beta -c update -p ${{ secrets.GPG_PASSPHRASE1 }}
327+
tools/repository/repo -i output/debs-beta -c update
324328
325329
ssh -o StrictHostKeychecking=no -p ${{ secrets.HOST_UPLOAD_PORT }} ${{ inputs.HOST_USER }}@${{ inputs.HOST_DEPLOY }} "mkdir -p storage/artifacts/${{ env.PR_NUMBER }}/${{ matrix.node }}"
326330
rsync -arvc -e "ssh -o StrictHostKeychecking=no -p ${{ secrets.HOST_UPLOAD_PORT }}" output/repository/public/ ${{ inputs.HOST_USER }}@${{ inputs.HOST_DEPLOY }}:"storage/artifacts/${{ env.PR_NUMBER }}/${{ matrix.node }}"

0 commit comments

Comments
 (0)