Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/commands/deploy/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -793,9 +793,7 @@ const printResults = ({
logs: results.logsUrl,
function_logs: results.functionLogsUrl,
edge_function_logs: results.edgeFunctionLogsUrl,
}
if (deployToProduction) {
jsonData.url = results.siteUrl
url: results.siteUrl,
}

if (uploadSourceZip) {
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/commands/deploy/deploy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ type Deploy = {
logs: string
function_logs: string
edge_function_logs: string
url: string
}

const validateDeploy = async ({
Expand All @@ -76,6 +77,7 @@ const validateDeploy = async ({
expect(deploy.logs).toBeTruthy()
expect(deploy.function_logs).toBeTruthy()
expect(deploy.edge_function_logs).toBeTruthy()
expect(deploy.url).toBeTruthy()
expect(deploy.site_name).toEqual(siteName)

await validateContent({ siteUrl: deploy.deploy_url, path: '', content })
Expand Down