Fix: add required build.publicFolder and build.outputFolder to Tina config
Some checks failed
Deploy to Easypanel / deploy (push) Has been cancelled

This commit is contained in:
Kunthawat Greethong
2026-04-27 19:58:06 +07:00
parent 5548f45091
commit c6c75f5b0d
4 changed files with 13 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
{"t":0,"agent":"acc8212","agent_type":"unknown","event":"agent_stop","success":true} {"t":0,"agent":"acc8212","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"a1ccdc0","agent_type":"unknown","event":"agent_stop","success":true} {"t":0,"agent":"a1ccdc0","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"a7833f9","agent_type":"unknown","event":"agent_stop","success":true} {"t":0,"agent":"a7833f9","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"a43d42e","agent_type":"unknown","event":"agent_stop","success":true}

View File

@@ -1,7 +1,7 @@
{ {
"tool_name": "WebFetch", "tool_name": "WebFetch",
"tool_input_preview": "{\"url\":\"https://www.npmjs.com/package/@astrojs/mdx\",\"prompt\":\"What are the latest stable versions of @astrojs/mdx and which Astro versions are they compatible with?\"}", "tool_input_preview": "{\"url\":\"https://tina.io/docs/reference/config/\",\"prompt\":\"What is the correct media configuration for tinacms 2.x? The error is \\\"Cannot read properties of undefined (reading 'publicFolder')\\\". What s...",
"error": "timeout of 60000ms exceeded", "error": "timeout of 60000ms exceeded",
"timestamp": "2026-04-27T12:22:43.727Z", "timestamp": "2026-04-27T12:46:34.409Z",
"retry_count": 1 "retry_count": 1
} }

View File

@@ -3,5 +3,5 @@
"total_spawned": 0, "total_spawned": 0,
"total_completed": 0, "total_completed": 0,
"total_failed": 0, "total_failed": 0,
"last_updated": "2026-04-27T12:30:55.494Z" "last_updated": "2026-04-27T12:37:08.956Z"
} }

View File

@@ -3,11 +3,9 @@ import { schema } from './schema';
export default defineConfig({ export default defineConfig({
schema, schema,
ui: { build: {
navigation: { publicFolder: 'public',
'content/posts': { label: 'Posts' }, outputFolder: 'admin',
'content/pages': { label: 'Pages' },
},
}, },
media: { media: {
tina: { tina: {
@@ -15,4 +13,10 @@ export default defineConfig({
mediaRoot: 'uploads', mediaRoot: 'uploads',
}, },
}, },
ui: {
navigation: {
'content/posts': { label: 'Posts' },
'content/pages': { label: 'Pages' },
},
},
}); });