Skip to content

Commit 5b65fe1

Browse files
committed
pages deploy workflow
1 parent 7f26db0 commit 5b65fe1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pages-deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,20 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v3
34-
- name: Build
34+
- name: Build Rust
3535
run: |
3636
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3737
wasm-pack build string-bean-wasm --target web
38+
- name: Build Web
3839
cd web
39-
npm run build
40+
npm i && npm run build
4041
touch build/.nojekyll
4142
- name: Setup Pages
4243
uses: actions/configure-pages@v3
4344
- name: Upload artifact
4445
uses: actions/upload-pages-artifact@v1
4546
with:
46-
path: "web/build"
47+
path: web/build
4748
- name: Deploy to GitHub Pages
4849
id: deployment
4950
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)