troubleshooting tina
This commit is contained in:
+1
-4
@@ -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
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user