refactor: Update html build files

This commit is contained in:
krille-chan 2023-08-21 07:06:21 +02:00
commit 82e38ad38f
No known key found for this signature in database
2 changed files with 32 additions and 72 deletions

View file

@ -22,11 +22,9 @@ jobs:
run: sudo apt-get update && sudo apt-get install nodejs -y
- run: flutter pub get
- name: Prepare web
run: |
./scripts/prepare-web.sh
sed -i 's/href="\/"/href="\/web\/"/' web/index.html
run: ./scripts/prepare-web.sh
- name: Build Release Web
run: flutter build web --release --verbose --source-maps
run: flutter build web --release --verbose --source-maps --base-href "/web/"
- name: Build Website
run: |
cd docs && npx tailwindcss -o ./tailwind.css --minify && cd ..