Skip to content

Commit 372f1ef

Browse files
authored
Fix path used for wasm deployment to github pages (#111)
* Fix path used for wasm deployment to github pages * Can only deploy to github pages from default branch
1 parent ae2bdc0 commit 372f1ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy-wasm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ jobs:
3939
- name: Upload artifact
4040
uses: actions/upload-pages-artifact@v4
4141
with:
42-
path: ./wasm/serve
42+
path: ./wasm/serve/dist
4343

4444
deploy:
4545
needs: build
46+
if: github.ref == 'refs/heads/main'
4647
permissions:
4748
pages: write
4849
id-token: write

0 commit comments

Comments
 (0)