Skip to content

Commit

Permalink
Merge pull request #4261 from Shopify/dunk.dont-link
Browse files Browse the repository at this point in the history
Don't link on deploy when api key is provided
  • Loading branch information
DuncanUszkay1 committed Aug 2, 2024
2 parents e28afed + 18fae61 commit 78a7356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/cli/services/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ export async function ensureDeployContext(options: DeployContextOptions): Promis
const {reset, force, noRelease} = options
let developerPlatformClient = options.developerPlatformClient
// do the link here
const [remoteApp] = await fetchAppAndIdentifiers(options, developerPlatformClient, true, true)
const [remoteApp] = await fetchAppAndIdentifiers(options, developerPlatformClient, true, !options.apiKey)

developerPlatformClient = remoteApp.developerPlatformClient ?? developerPlatformClient

Expand Down

0 comments on commit 78a7356

Please sign in to comment.