Skip to content

Commit

Permalink
conditional logic for service string
Browse files Browse the repository at this point in the history
Co-authored-by: Zach Shilton <[email protected]>
  • Loading branch information
heatlikeheatwave and zchsh authored Jul 26, 2024
1 parent 0db18a6 commit 8c79414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upload-source-maps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const main = () => {
// const SERVICE = 'developer.hashicorp.com'
const PATH_PREFIX =
'https://dev-portal-git-rn-featbuild-source-maps-during-deploy-hashicorp.vercel.app/_next/static/'
const SERVICE = 'non-prod.developer.hashicorp.com'
const SERVICE = process.env.VERCEL_ENV === 'production' ? 'developer.hashicorp.com' : 'non-prod.developer.hashicorp.com'

const DATADOG_API_KEY = process.env.DD_API_KEY

Expand Down

0 comments on commit 8c79414

Please sign in to comment.