Skip to content

Commit e64b626

Browse files
committed
print out env var names
1 parent 94de222 commit e64b626

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/actions/setup-self-hosted-docs/action.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ runs:
2929
set -e
3030
pnpm --filter @fern-platform/fdr build:tsup:cjs
3131
32+
- name: Debug Environment Variables in Composite Action
33+
shell: bash
34+
run: |
35+
echo "=== Environment Variable Names in Composite Action ==="
36+
env | cut -d= -f1 | sort
37+
echo ""
38+
echo "=== Specific Variables (showing if set, not values) ==="
39+
echo "FERN_TOKEN: ${FERN_TOKEN:+SET}"
40+
echo "WORKOS_API_KEY: ${WORKOS_API_KEY:+SET}"
41+
echo "WORKOS_CLIENT_ID: ${WORKOS_CLIENT_ID:+SET}"
42+
echo "NODE_ENV: ${NODE_ENV:-'NOT SET'}"
43+
echo "GITHUB_WORKSPACE: ${GITHUB_WORKSPACE:-'NOT SET'}"
44+
3245
- name: Build docs bundle
3346
shell: bash
3447
run: |

.github/workflows/run-self-hosted-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
with:
1717
fetch-depth: 2 # This helps turbo resolve changes faster
1818

19+
- name: Debug Environment Variables
20+
shell: bash
21+
run: |
22+
echo "=== All Environment Variable Names ==="
23+
env | cut -d= -f1 | sort
24+
1925
- name: Setup Self-Hosted Docs
2026
uses: ./.github/actions/setup-self-hosted-docs
2127
env:

0 commit comments

Comments
 (0)