From 99af09fe666bd3ba70a35bddfced674d5b7ec67e Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Thu, 12 Oct 2023 19:09:34 -0400 Subject: [PATCH] Updating the readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 1f61b8fae..ccbed51e5 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,18 @@ Please try again`. If you see it but there are no other errors then it probably worked. Check your dashboard at vercel.com and you should see an empty project was created. +After it is created you have to first make sure you updated `/clean-build.sh`, +if you changed the name or number of any of the sections. If not make that +change now. Finally go to the settings for the newly created project and in the +general section add the following as an "overide" to the build command: + +```bash +hugo --gc && sh clean-build.sh +``` + +This is a huge hack but the only solution I could find, if someone has a better +way to do this please let me know or submit a PR. + ### Populate Vercel Env Variables Next go to your Vercel dashboard then navigate to to your new project. In the -- GitLab