fix secrets path
This commit is contained in:
parent
745a681de7
commit
4eddb19d59
6
.github/workflows/build-deb.yml
vendored
6
.github/workflows/build-deb.yml
vendored
@ -315,7 +315,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Import GPG key
|
- name: Import GPG key
|
||||||
if: secrets.GPG_PRIVATE_KEY != ''
|
if: ${{ secrets.GPG_PRIVATE_KEY != '' }}
|
||||||
env:
|
env:
|
||||||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
run: |
|
run: |
|
||||||
@ -323,7 +323,7 @@ jobs:
|
|||||||
gpg --list-secret-keys
|
gpg --list-secret-keys
|
||||||
|
|
||||||
- name: Sign repository
|
- name: Sign repository
|
||||||
if: secrets.GPG_PRIVATE_KEY != ''
|
if: ${{ secrets.GPG_PRIVATE_KEY != '' }}
|
||||||
env:
|
env:
|
||||||
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
|
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
|
||||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
@ -345,7 +345,7 @@ jobs:
|
|||||||
echo "✓ Repository signed"
|
echo "✓ Repository signed"
|
||||||
|
|
||||||
- name: Create unsigned repository notice
|
- name: Create unsigned repository notice
|
||||||
if: secrets.GPG_PRIVATE_KEY == ''
|
if: ${{ secrets.GPG_PRIVATE_KEY == '' }}
|
||||||
run: |
|
run: |
|
||||||
echo "⚠️ Warning: GPG_PRIVATE_KEY not set. Repository will be UNSIGNED."
|
echo "⚠️ Warning: GPG_PRIVATE_KEY not set. Repository will be UNSIGNED."
|
||||||
echo "⚠️ Add GPG secrets to sign the repository automatically."
|
echo "⚠️ Add GPG secrets to sign the repository automatically."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user