add backend
Build and Deploy / build-and-deploy (push) Failing after 5m26s

This commit is contained in:
2026-05-03 20:58:09 +02:00
parent f3dfdb2f90
commit d9e3f398b8
8 changed files with 3722 additions and 484 deletions
+4 -4
View File
@@ -1,10 +1,9 @@
import { defineConfig } from "tinacms";
import { UsernamePasswordAuthJSProvider, TinaUserCollection } from "tinacms-authjs/dist/tinacms";
// Your TinaCMS configuration
export default defineConfig({
branch: process.env.TINA_BRANCH || "main",
clientId: process.env.TINA_CLIENT_ID || "",
token: process.env.TINA_TOKEN || "",
contentApiUrlOverride: "/api/tina/gql",
authProvider: new UsernamePasswordAuthJSProvider(),
build: {
outputFolder: "admin",
@@ -19,6 +18,7 @@ export default defineConfig({
},
schema: {
collections: [
TinaUserCollection,
{
name: "post",
label: "Blog Posts",