Skip to content

Commit 4adafb9

Browse files
committed
Move Tailwind build to CI
1 parent 9106bf7 commit 4adafb9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
with:
2828
bundler-cache: true
2929

30+
- name: Generate Tailwind CSS
31+
run: bundle exec tailwindcss -i source/stylesheets/tailwind.css -o source/stylesheets/site.css --minify
32+
3033
- name: Build site with Middleman
3134
run: bundle exec middleman build
3235

config.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@
3131
sitemap: File.join(@app.data.site.host, 'sitemap.xml')
3232
end
3333

34-
before_build do
35-
system 'tailwindcss -i source/stylesheets/tailwind.css -o source/stylesheets/site.css --minify'
36-
end
37-
3834
activate :inline_svg
3935

4036
helpers do

0 commit comments

Comments
 (0)