mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-03-28 17:43:05 +01:00
Add more warnings around radio config, stats loading, and packet decrypt (and remove accidentally committed script whoops)
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Colors for output
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
echo -e "${YELLOW}Deploying to production server...${NC}"
|
||||
ssh jack@192.168.1.199 "\
|
||||
cd /opt/remoteterm/ && \
|
||||
sudo -u remoteterm git checkout main && \
|
||||
sudo -u remoteterm git pull && \
|
||||
cd frontend && \
|
||||
sudo -u remoteterm bash -c 'source ~/.nvm/nvm.sh && npm install && npm run build' && \
|
||||
sudo systemctl restart remoteterm && \
|
||||
sudo journalctl -u remoteterm -f"
|
||||
|
||||
echo -e "${GREEN}=== Deploy complete! ===${NC}"
|
||||
Reference in New Issue
Block a user