Skip to content

Commit

Permalink
pages deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbaker1 committed Aug 5, 2023
1 parent 7f26db0 commit 5b65fe1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5b65fe1

Please sign in to comment.