Skip to content

Commit c3f08fd

Browse files
committed
switch logging to console error
1 parent 710763c commit c3f08fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
env:
4444
SECRETS_CONTEXT: ${{ toJSON(secrets) }}
4545
run: |
46-
VAR_NAMES=$(bun scripts/generate-ci-env.ts)
46+
VAR_NAMES=$(NEXT_PUBLIC_CB_ENVIRONMENT=test bun scripts/generate-ci-env.ts)
4747
echo "$SECRETS_CONTEXT" | jq -r --argjson vars "$VAR_NAMES" '
4848
to_entries | .[] | select(.key as $k | $vars | index($k)) | .key + "=" + .value
4949
' >> $GITHUB_ENV

scripts/generate-ci-env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ function generateGitHubEnv() {
7373
console.log(JSON.stringify(selected))
7474
}
7575

76-
console.log({ asdfenv: process.env }, 'asdf')
76+
console.error({ asdfenv: process.env }, 'asdf')
7777

7878
generateGitHubEnv()

0 commit comments

Comments
 (0)