diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29bb2d..30f11d5872b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1 @@ +- Fix hosting rewrite deployment bug for skipped functions (#6658). diff --git a/src/deploy/functions/prepare.ts b/src/deploy/functions/prepare.ts index dc7f69bbb80..d16604b4b29 100644 --- a/src/deploy/functions/prepare.ts +++ b/src/deploy/functions/prepare.ts @@ -291,6 +291,9 @@ export function inferDetailsFromExisting( continue; } + // Copy the service id over to the new endpoint. + wantE.runServiceId = haveE.runServiceId; + // By default, preserve existing environment variables. // Only overwrite environment variables when there are user specified environment variables. if (!usedDotenv) {