Skip to content

Commit 05c280d

Browse files
authored
Merge pull request #193 from shafin-deriv/shafin/BOT/chore-test-workflow
chore: fix staging workflow
2 parents ac17595 + f354622 commit 05c280d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/build-and-deploy-staging.yml

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
- name: Build staging
4040
run: npm run build
4141
env:
42+
NODE_ENV: staging
4243
R2_PROJECT_NAME: ${{ vars.R2_PROJECT_NAME }}
4344
TRANSLATIONS_CDN_URL: ${{ vars.TRANSLATIONS_CDN_URL }}
4445
CROWDIN_BRANCH_NAME: staging

src/utils/datadog.ts

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const getConfigValues = (is_production: boolean) => {
2525

2626
const initDatadog = (is_datadog_enabled: boolean) => {
2727
if (!is_datadog_enabled) return;
28-
console.log('current environment: ', process.env.NODE_ENV);
2928
if (process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'staging') {
3029
const is_production = process.env.NODE_ENV === 'production';
3130
const {

0 commit comments

Comments
 (0)