Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
paths:
- "browser-echo/**"
- "browser-chat/**"
- "browser-blobs/**"
pull_request:
paths:
- "browser-echo/**"
- "browser-chat/**"
- "browser-blobs/**"
workflow_dispatch:
inputs:
pr_number:
Expand Down
4 changes: 4 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
dependencies = [
{ name = "deploy", path = "browser-echo" },
{ name = "deploy", path = "browser-chat" },
{ name = "deploy", path = "browser-blobs" },
]

script = '''
Expand All @@ -25,5 +26,8 @@ echo '<li><a href="./browser-echo/index.html">browser-echo</li>' >> deploy-out/i
cp -r browser-chat/frontend/dist deploy-out/browser-chat
echo '<li><a href="./browser-chat/index.html">browser-chat</li>' >> deploy-out/index.html

cp -r browser-blobs/public deploy-out/browser-blobs
echo '<li><a href="./browser-blobs/index.html">browser-blobs</li>' >> deploy-out/index.html

echo '</ul></body></html>' >> deploy-out/index.html
'''
4 changes: 4 additions & 0 deletions browser-blobs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/public/wasm
/package-lock.json
/node_modules
/target
Loading
Loading