diff --git a/justfile b/justfile index 43324e6b..fcc79a04 100644 --- a/justfile +++ b/justfile @@ -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}} \ No newline at end of file + {{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 \ No newline at end of file