troubleshooting tina

This commit is contained in:
Hamza Ahmed
2023-11-10 22:27:28 +00:00
parent 90bf06d7d6
commit fcf1b48fd3
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -17,11 +17,8 @@ WORKDIR blog
ARG TINA_TOKEN ARG TINA_TOKEN
RUN echo $TINA_TOKEN RUN echo $TINA_TOKEN
# install tina
RUN npx @tinacms/cli@latest
# build Tina and generate minifed hugo files # 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 # Nginx image is as basic as we can get
+1 -1
View File
@@ -5,7 +5,7 @@ const branch = process.env.HEAD || process.env.VERCEL_GIT_COMMIT_REF || "main";
export default defineConfig({ export default defineConfig({
branch, 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 token: $TINA_TOKEN, // Get this from tina.io
build: { build: {