From b30a5c409ec9f5c266d5381eb45f3130ecf2efc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Sat, 4 Nov 2023 18:02:13 +0100 Subject: [PATCH] build: added build-thankful target --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index c91a91e..f0bf57d 100644 --- a/Makefile +++ b/Makefile @@ -7,3 +7,12 @@ serve: build: bundle exec jekyll build touch _site/.nojekyll + +# We need to build the thankful page separately, +# and push it manually to `thankful:gh-pages`, +# because it's in a subdirectory named the same as the repo, +# which GitHub Pages doesn't like. +build-thankful: + bundle exec jekyll build -d _site/thankful + mv _site/thankful/thankful/* _site/thankful + touch _site/thankful/.nojekyll