We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd91473 commit 9e7570bCopy full SHA for 9e7570b
scripts/deploy/deploy-prod-dc.ts
@@ -17,7 +17,8 @@ if (!process.env.NODE_TEST_CONTEXT) {
17
}
18
19
export async function main(...args: string[]): Promise<void> {
20
- command`curl -X GET https://runtime-metadata-service.us1.ddbuild.io/v2/datacenters?selector=datacenter.environment=prod&datacenter.flavor=site --silent -H ${'accept: application/json'}`
+ const TOKEN = command`authanywhere --raw`.run()
21
+ command`curl -X GET https://runtime-metadata-service.us1.ddbuild.io/v2/datacenters?selector=datacenter.environment=prod&datacenter.flavor=site --silent -H ${'accept: application/json'} -H ${`Authorization: Bearer ${TOKEN}`}`
22
.withLogs()
23
.run()
24
0 commit comments