Skip to content

Commit

Permalink
Merge pull request #193 from shafin-deriv/shafin/BOT/chore-test-workflow
Browse files Browse the repository at this point in the history
chore: fix staging workflow
  • Loading branch information
shafin-deriv authored Dec 12, 2024
2 parents ac17595 + f354622 commit 05c280d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-and-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- name: Build staging
run: npm run build
env:
NODE_ENV: staging
R2_PROJECT_NAME: ${{ vars.R2_PROJECT_NAME }}
TRANSLATIONS_CDN_URL: ${{ vars.TRANSLATIONS_CDN_URL }}
CROWDIN_BRANCH_NAME: staging
Expand Down
1 change: 0 additions & 1 deletion src/utils/datadog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const getConfigValues = (is_production: boolean) => {

const initDatadog = (is_datadog_enabled: boolean) => {
if (!is_datadog_enabled) return;
console.log('current environment: ', process.env.NODE_ENV);
if (process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'staging') {
const is_production = process.env.NODE_ENV === 'production';
const {
Expand Down

0 comments on commit 05c280d

Please sign in to comment.