Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-tennert committed Oct 8, 2023
1 parent 193cd27 commit 85228aa
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ jobs:
- name: Install wasm-bindgen-cli
run: cargo install wasm-bindgen-cli

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: build --release --target wasm32-unknown-unknown --features webgl
- name: Run build
run: build --release --target wasm32-unknown-unknown
- name: WASM
run: wasm-bindgen --out-name Simulation --out-dir wasm/target --target web target/wasm32-unknown-unknown/release/Simulation.wasm
run: wasm-bindgen --out-dir ./out/ --target web ./target/
# - name: Copy Assets
# run: |
# mkdir build
Expand All @@ -48,7 +46,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'wasm'
path: 'out'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 85228aa

Please sign in to comment.