Files
krowworkforce_controltower/deploy_template.sh
2026-08-17 19:45:29 +05:30

20 lines
405 B
Bash

#!/bin/bash
set -e
# Ensure the SDK is built before deployment
echo "Building SDK..."
cd sdk
npm install --legacy-peer-deps
npm run build
cd ..
# Commit and push changes
echo "Committing and pushing changes..."
git add .
git commit -m "deploy"
git push origin main
# Build and deploy the e2b template
echo "Building and deploying e2b template..."
cd e2b_template && e2b template build -c "npm run dev"