diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e92723a..f2581f1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -29,13 +29,12 @@ jobs: target key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }} - - name: Install dioxus-cli + Build Frontend + - name: Build Frontend (WASM con trunk) run: | - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - cargo install dioxus-cli --version 0.6.3 - dx --version + rustup target add wasm32-unknown-unknown + cargo install trunk --locked cd frontend - dx build --release + trunk build --release - name: Build Backend (Rust) run: cargo build --release -p nutriapp-backend