fix secrets path

This commit is contained in:
jasonwitty 2025-11-23 17:04:27 -08:00
parent 745a681de7
commit 4eddb19d59

View File

@ -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."