From 5b65fe1bd6ea9ddc1532c2de690e8bf093b388ec Mon Sep 17 00:00:00 2001 From: Nick Baker Date: Fri, 4 Aug 2023 21:45:45 -0700 Subject: [PATCH] pages deploy workflow --- .github/workflows/pages-deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 24b7488..f2a2779 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -31,19 +31,20 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Build + - name: Build Rust run: | curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh wasm-pack build string-bean-wasm --target web + - name: Build Web cd web - npm run build + npm i && npm run build touch build/.nojekyll - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: - path: "web/build" + path: web/build - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2