Skip to content

Commit

Permalink
fix: cleanup pages build
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed Aug 19, 2024
1 parent 3052221 commit 700c43e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 33 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ jobs:
run: "rustup toolchain install stable \nrustup component add rustfmt\nrustup component add clippy\ncargo install trunk\nrustup target add wasm32-unknown-unknown\n"
- name: Rust Build and Check
run: |
cargo check
cargo fmt --check
cargo clippy --all-features --no-deps
cargo test
- name: Build artifact
run: |
trunk build --release --public-url ${{ github.event.repository.name }}
cp -rv ./dist ./_site
- name: Upload artifact
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/release-image.yml

This file was deleted.

17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,20 @@ Yew is a modern Rust framework for creating multi-threaded front-end web apps us

Yew is particularly suited for applications where performance, reliability, and Rust's strong type system are important. However, it does require familiarity with Rust, and the ecosystem is not as mature as JavaScript's, which could be a consideration for some projects.

### Quick Start

#### VSCode

`Reopen in container`

#### Build Trunk

```bash
$ trunk build --release
```

#### Serve Trunk

```bash
$ trunk serve --address=0.0.0.0 --release
```

0 comments on commit 700c43e

Please sign in to comment.