Skip to content

Commit a447792

Browse files
author
Marvin Zhang
committed
chore: Remove GPG setup steps from GitHub Actions workflow
- Eliminated unnecessary GPG setup commands to streamline the workflow. - Maintained the setting of GPG_TTY for proper environment variable handling. - Focused on enhancing efficiency and clarity in GPG key management during deployment.
1 parent 6aa491e commit a447792

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/publish.yml

-13
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ jobs:
7878
env:
7979
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
8080

81-
- name: Set up GPG
82-
run: |
83-
# Ensure directory exists
84-
mkdir -p ~/.gnupg/
85-
86-
# Configure GPG
87-
echo "allow-loopback-pinentry" > ~/.gnupg/gpg-agent.conf
88-
echo "pinentry-mode loopback" > ~/.gnupg/gpg.conf
89-
90-
# Set permissions
91-
chmod 700 ~/.gnupg
92-
chmod 600 ~/.gnupg/*
93-
9481
- name: Set GPG_TTY
9582
run: export GPG_TTY=$(tty)
9683

0 commit comments

Comments
 (0)