diff --git a/Dockerfile b/Dockerfile index 0f29587..94a0b29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,11 +17,8 @@ WORKDIR blog ARG TINA_TOKEN RUN echo $TINA_TOKEN -# install tina -RUN npx @tinacms/cli@latest - # build Tina and generate minifed hugo files -RUN npx tinacms build && hugo --minify +RUN npx @tinacms/cli@latest build && hugo --minify # Nginx image is as basic as we can get diff --git a/tina/config.ts b/tina/config.ts index a543ac8..a501b3b 100644 --- a/tina/config.ts +++ b/tina/config.ts @@ -5,7 +5,7 @@ const branch = process.env.HEAD || process.env.VERCEL_GIT_COMMIT_REF || "main"; export default defineConfig({ branch, - clientId: e4537a30-23f9-4ad7-8a1f-f844a298dff3, // Get this from tina.io + clientId: "e4537a30-23f9-4ad7-8a1f-f844a298dff3", // Get this from tina.io token: $TINA_TOKEN, // Get this from tina.io build: {