Skip to content

Commit

Permalink
Try a simpler (?) deploy package
Browse files Browse the repository at this point in the history
  • Loading branch information
spectria-limina committed Dec 3, 2024
1 parent e6c33a5 commit 0b3e3d7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,15 @@ jobs:
- name: Build
run: cargo build --release --target wasm32-unknown-unknown
- name: Copy Assets
run: mkdir -p serve/app && { cp -r assets imported_assets serve/static/app || true; }
run: mkdir -p public/app && { cp -r assets imported_assets public/static/app || true; }
- name: Run Bindgen
run: wasm-bindgen --target web --out-dir serve/static/app --out-name stratmat target/wasm32-unknown-unknown/release/stratmat.wasm
- name: Deploy
uses: ptienchuan/[email protected]
with:
source-directory: serve
run: wasm-bindgen --target web --out-dir public/static/app --out-name stratmat target/wasm32-unknown-unknown/release/stratmat.wasm
- name: Deploy to GitHub Pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: crazy-max/[email protected]
with:
build_dir: public
fqdn: stratmat.dynamis.gg
jekyll: false

Empty file removed serve/.nojekyll
Empty file.
1 change: 0 additions & 1 deletion serve/CNAME

This file was deleted.

0 comments on commit 0b3e3d7

Please sign in to comment.