From 08b6037133434b21e3070d742a8ee722f62962b3 Mon Sep 17 00:00:00 2001 From: dskvr Date: Mon, 28 Oct 2024 15:35:09 +0100 Subject: [PATCH] hotfix: demo wf --- .github/workflows/static.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index ce7510b..8724057 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -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 @@ -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