Skip to content

Commit

Permalink
hotfix: demo wf
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Oct 28, 2024
1 parent 249be03 commit 08b6037
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Delete demo/pkg symlink
run: rm -fr demo/pkg
# - name: Delete demos/vanilla-js/pkg symlink
# run: rm -fr demos/vanilla-js/pkg

- name: Setup Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
Expand All @@ -36,14 +36,15 @@ jobs:

- name: Clean and Build with wasm-pack
run: |
cd packages/rust
cargo clean
wasm-pack build --target web --release
- name: Prepare Demo Directory
run: mkdir -p demo/pkg
run: mkdir -p demos/vanilla-js/pkg

- name: Copy Build Artifacts to Demo
run: cp -r pkg/* demo/pkg/
run: cp -r packages/rust/pkg/* demos/vanilla-js/pkg/

- name: Setup GitHub Pages
uses: actions/configure-pages@v5
Expand Down

0 comments on commit 08b6037

Please sign in to comment.