Skip to content

Commit 290e96a

Browse files
author
Tim Schneeberger
authored
Update package-deb.yml
1 parent 3b312f8 commit 290e96a

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/package-deb.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,26 @@ jobs:
190190
steps:
191191
- uses: actions/checkout@v2
192192
with:
193-
repository: 'thepbone/PPA-Repository'
194-
token: ${{ secrets.GITHUB_TB_TOKEN }}
193+
repository: 'ThePBone/PPA-Repository'
195194

196195
- name: Download package artifact
197196
uses: actions/download-artifact@v2
198197
with:
199198
name: jamesdsp-${{ matrix.flavor }}_${{steps.version.outputs.version}}_amd64.deb
200199

200+
- name: Import GPG key
201+
id: import_gpg
202+
uses: crazy-max/ghaction-import-gpg@v4
203+
with:
204+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
205+
206+
- name: GPG user IDs
207+
run: |
208+
echo "fingerprint: ${{ steps.import_gpg.outputs.fingerprint }}"
209+
echo "keyid: ${{ steps.import_gpg.outputs.keyid }}"
210+
echo "name: ${{ steps.import_gpg.outputs.name }}"
211+
echo "email: ${{ steps.import_gpg.outputs.email }}"
212+
201213
- name: Update packages
202214
run: |
203215
sudo apt install dpkg-dev apt-utils
@@ -211,7 +223,7 @@ jobs:
211223
- name: Push to PPA
212224
uses: cpina/github-action-push-to-another-repository@main
213225
env:
214-
API_TOKEN_GITHUB: ${{ secrets.GITHUB_TB_TOKEN }}
226+
API_TOKEN_GITHUB: ${{ secrets.REPO_AUTH_TOKEN }}
215227
with:
216228
source-directory: '.'
217229
destination-github-username: 'ThePBone'

0 commit comments

Comments
 (0)