build: Fix build tailwindcss for website

This commit is contained in:
krille-chan 2025-02-21 10:42:22 +01:00
commit 68707e57b9
No known key found for this signature in database
2 changed files with 307 additions and 1 deletions

View file

@ -50,9 +50,13 @@ jobs:
asset_path: fluffychat-web.tar.gz
asset_name: fluffychat-web.tar.gz
asset_content_type: application/gzip
- name: Install and build tailwindcss
working-directory: docs
run: |
npm install tailwindcss @tailwindcss/cli
npx tailwindcss -o ./tailwind.css
- name: Build Website
run: |
cd docs && npx tailwindcss -o ./tailwind.css --minify && cd ..
mv docs public
mv repo public || true
mv build/web/ public/web