Skip to content

Commit

Permalink
chore: finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilsan committed Jul 16, 2023
1 parent 7f164a4 commit 38601d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
run: find dist -name "*.wasm" -exec wasm-opt {} -o {} -Oz -c --dae --dce --rse -s 4 --vacuum \;

- name: Setup GitHub Pages
# if: github.event_name == 'push'
if: github.event_name == 'push'
uses: actions/configure-pages@v3

- name: Upload Pages artifact
# if: github.event_name == 'push'
if: github.event_name == 'push'
uses: actions/upload-pages-artifact@v2
with:
path: dist

- name: Deploy to GitHub Pages
# if: github.event_name == 'push'
if: github.event_name == 'push'
uses: actions/deploy-pages@v2
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@

0. Install Rust using [rustup](https://rustup.rs/).

1. Add WASM target:
1. Install Rust nightly toolchain and Wasm target:

```
rustup toolchain install nightly
rustup default nightly
rustup target add wasm32-unknown-unknown
```

Expand Down

0 comments on commit 38601d2

Please sign in to comment.