mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Add Cloudflare Pages deployment command as script
This commit is contained in:
12
.deployment/cd.sh
Normal file
12
.deployment/cd.sh
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user