build: Fix build tailwindcss for website
This commit is contained in:
parent
99c49e3df2
commit
68707e57b9
2 changed files with 307 additions and 1 deletions
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue