Skip to content

Commit

Permalink
Update justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchantey committed Mar 8, 2024
1 parent fcccaf2 commit 0f3377b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,17 @@ serve-wasm *args:
--entry-file=index.html \
--host=0.0.0.0 \
--watch=wasm/site_bg.wasm,wasm/simulator_bg.wasm,index.html,style.css \
{{args}}
{{args}}


deploy-web:
rm -rf /tmp/beet
mkdir -p /tmp/beet || true
cp -r target/static/* /tmp/beet
git checkout pages
mkdir -p play || true
cp -r /tmp/beet/* play
git add .
git commit -m "Publish Playground"
git push origin main
git checkout main

0 comments on commit 0f3377b

Please sign in to comment.