refactor: Update html build files
This commit is contained in:
parent
e20f7f7576
commit
82e38ad38f
2 changed files with 32 additions and 72 deletions
6
.github/workflows/main_deploy.yaml
vendored
6
.github/workflows/main_deploy.yaml
vendored
|
|
@ -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 ..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue