Add Cloudflare Pages deployment command as script
This commit is contained in:
parent
43b7a36008
commit
b19a9ab6fd
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo 🔧 Install Rust
|
||||||
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
|
export PATH=$PATH:/opt/buildhome/.cargo/bin
|
||||||
|
|
||||||
|
echo 🚧 Install Node dependencies
|
||||||
|
cd client/web
|
||||||
|
npm install
|
||||||
|
|
||||||
|
echo 👷 Build Graphite web client
|
||||||
|
npm run build
|
||||||
Loading…
Reference in New Issue