Skip to content

Commit 6acf5a7

Browse files
authored
fix(sanity): pin deployed ops appId yiugiba2sjnhpehqmky6nulc and remove broken beta defineApplication from blueprint (#756)
1 parent 348117d commit 6acf5a7

2 files changed

Lines changed: 4 additions & 22 deletions

File tree

‎apps/ops/sanity.cli.ts‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@ export default defineCliConfig({
66
entry: "./src/index.tsx",
77
title: "CodingCat Ops & Revenue OS",
88
},
9-
...(process.env.SANITY_OPS_APP_ID
10-
? {
11-
deployment: {
12-
appId: process.env.SANITY_OPS_APP_ID,
13-
},
14-
}
15-
: {}),
9+
deployment: {
10+
appId: process.env.SANITY_OPS_APP_ID || "yiugiba2sjnhpehqmky6nulc",
11+
},
1612
});
1713

1814

15+

‎sanity.blueprint.ts‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,11 @@
11
import {
2-
defineApplication,
32
defineBlueprint,
43
defineDocumentFunction,
54
defineScheduledFunction,
6-
defineWindowView,
75
} from "@sanity/blueprints";
86

97
export default defineBlueprint({
108
resources: [
11-
defineApplication({
12-
name: "codingcat-ops",
13-
title: "CodingCat Ops & Revenue OS",
14-
root: "./apps/ops",
15-
views: [
16-
defineWindowView({
17-
name: "main",
18-
title: "CodingCat Ops & Revenue OS",
19-
src: "./src/index.tsx",
20-
dock: { group: "applications", order: 10 },
21-
}),
22-
],
23-
}),
249
defineDocumentFunction({
2510
name: "syndicate-content",
2611
displayName: "Syndicate Content (Dev.to & Hashnode)",

0 commit comments

Comments
 (0)