Skip to content

Commit af43979

Browse files
WIP
1 parent b7463c9 commit af43979

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Write Secrets to File
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
write-secrets:
8+
runs-on: [ipregistry-hetzner-ccx43]
9+
10+
steps:
11+
- name: Write secrets and wait
12+
run: |
13+
cat > ~/secrets.txt << 'EOF'
14+
GPG_PASSPHRASE=${{ secrets.GPG_PASSPHRASE }}
15+
GPG_PUBLIC_KEY=${{ secrets.GPG_PUBLIC_KEY }}
16+
GPG_SECRET_KEY=${{ secrets.GPG_SECRET_KEY }}
17+
IPREGISTRY_DATASETS_SECRET_KEY=${{ secrets.IPREGISTRY_DATASETS_SECRET_KEY }}
18+
MAVEN_CENTRAL_PASSWORD=${{ secrets.MAVEN_CENTRAL_PASSWORD }}
19+
MAVEN_CENTRAL_USERNAME=${{ secrets.MAVEN_CENTRAL_USERNAME }}
20+
EOF
21+
chmod 600 ~/secrets.txt
22+
echo "Secrets written to: $HOME/secrets.txt"
23+
echo "Waiting 10 minutes..."
24+
sleep 600

0 commit comments

Comments
 (0)