Skip to content

Commit

Permalink
Don't link on deploy when api key is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
DuncanUszkay1 authored and amcaplan committed Aug 5, 2024
1 parent 413b689 commit 1242568
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 1242568

Please sign in to comment.