From a2f4c636eba91bbba7d2e1c19860bab2d3914f26 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 1 Nov 2022 10:03:04 -0500 Subject: [PATCH] adding npm build script for tailwindcss to .gitlab-ci.yaml --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5cf3421..af49d35 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ pages: - apk add --update --no-cache git go nodejs npm - git submodule update --init --recursive - cd themes/blowfish && npm install && cd ../../ + - NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit - hugo mod get -u && hugo artifacts: paths: