adding npm build script for tailwindcss to .gitlab-ci.yaml

This commit is contained in:
Chris Cochrun 2022-11-01 10:03:04 -05:00
parent a3eacf5e32
commit a2f4c636eb

View file

@ -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: