Add a separate stack for Osmosis front end on Urbit

This commit is contained in:
2023-12-14 15:22:20 +05:30
committed by nabarun
parent 1627246782
commit df12842323
6 changed files with 220 additions and 5 deletions
@@ -0,0 +1,21 @@
#!/bin/sh
set -e
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
set -x
fi
# Check and exit if a deployment already exists (on restarts)
if [ -d /app-builds/osmosis/build ]; then
echo "Build already exists, remove volume to rebuild"
exit 0
fi
yarn build:static
# Move build to app-builds
mkdir -p /app-builds/osmosis
cp -r ./out /app-builds/osmosis/build
cp -r mar /app-builds/osmosis/
cp desk.docket-0 /app-builds/osmosis/