💻 My personal website blog.kacaii.dev/
blog gleam lustre

:truck: output tailwind css to correct location

+2 -30
-27
.justfiles/docker.just
··· 1 - username := "kacaii" 2 - image_name := "blog" 3 - tag_name := "latest" 4 - full_image_name := username / image_name + ":" + tag_name 5 - port := "8000" 6 - 7 - #  Run the container 8 - run: 9 - docker run -p {{ port }}:{{ port }} {{ image_name }}:{{ tag_name }} 10 - 11 - #  Build, Tag and Push your app 12 - shipment: build-image tag-image push-image 13 - 14 - #  Build Docker image 15 - [no-cd] 16 - build-image: 17 - docker-buildx build --file dockerfile --tag {{ image_name }} . 18 - 19 - #  Tag container image 20 - [private] 21 - tag-image: 22 - docker tag {{ image_name }}:{{ tag_name }} {{ full_image_name }} 23 - 24 - #  Push to container registry 25 - [private] 26 - push-image: 27 - docker push {{ full_image_name }}
+1 -1
.justfiles/tailwind.just
··· 1 1 set quiet := true 2 2 3 3 input_css := "input.css" 4 - output_css := "priv" / "static" / "style" / "output.css" 4 + output_css := "priv" / "dist" / "style" / "output.css" 5 5 6 6 #  Start Tailwind file watching 7 7 [no-cd]
+1 -1
.tangled/workflows/deploy.yml
··· 22 22 steps: 23 23 - name: tailwind 24 24 command: | 25 - tailwindcss -i input.css -o "$SITE_PATH"/output.css 25 + tailwindcss -i input.css -o "$SITE_PATH"/style/output.css 26 26 27 27 - name: build 28 28 command: |
-1
justfile
··· 1 1 mod gleam ".justfiles/gleam.just" 2 2 mod tailwind ".justfiles/tailwind.just" 3 - mod docker ".justfiles/docker.just" 4 3 5 4 @_default: 6 5 just --list