Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
heatlikeheatwave committed Jul 26, 2024
1 parent 9eb2037 commit 0db18a6
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions scripts/upload-source-maps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,27 +64,6 @@ const main = () => {

console.log('Failed to delete source maps from pages dir')
}
// https://github.com/DataDog/datadog-ci/tree/79c0edce658c54001327e8bbb3f1030e8f4ccc93/src/commands/deployment
// https://app.datadoghq.com/source-code/setup/apm?env=preview&service=developer.hashicorp.com&version=
// try {
// const DD_GIT_COMMIT_SHA = process.env.DD_GIT_COMMIT_SHA
// const DD_GIT_REPOSITORY_URL = process.env.DD_GIT_REPOSITORY_URL

// const gitInfo = `--source-control-provider=git --source-control-repository-url=${DD_GIT_REPOSITORY_URL} --source-control-revision=${DD_GIT_COMMIT_SHA}`

// const deployStatus = execSync(
// `DATADOG_API_KEY=${DATADOG_API_KEY} npx @datadog/datadog-ci deployments create ${gitInfo} --service=${SERVICE} --env=${process.env.VERCEL_ENV}`
// )

// deployStatus
// .toString()
// .split('\n')
// .forEach((line) => {
// console.log(line)
// })

// console.log('Deployment created successfully')
// }
}

main()

0 comments on commit 0db18a6

Please sign in to comment.