Skip to content

Commit 235eefd

Browse files
committed
build+deploy script
1 parent 721f40c commit 235eefd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

β€Žscripts/full_build_and_deploy.sh

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
cd "$(dirname "$0")"
6+
cd ..
7+
8+
./scripts/_build_wasms.sh
9+
./scripts/_validate_wasms.sh
10+
11+
pushd frontend
12+
npm run build
13+
popd
14+
15+
if [[ -f ./scripts/deploy_frontend.sh ]]; then
16+
./scripts/deploy_frontend.sh
17+
else
18+
echo "no deployment script found" >&2
19+
exit 1
20+
fi

0 commit comments

Comments
Β (0)