feat: Updates-Tab, Aufgaben-Tab ProxmoxPanel, security_only Tasks, 3x Netzwerk-Charts, Updates-Spalte Übersicht, dist-upgrade, DeleteAgent cascades metrics
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: all backend agent agent-linux updater-freebsd updater-linux plugin clean certs release deploy-backend
|
||||
.PHONY: all backend agent agent-linux updater-freebsd updater-linux plugin clean certs release deploy-backend deploy-frontend
|
||||
|
||||
VERSION ?= 0.0.0
|
||||
|
||||
@@ -72,6 +72,13 @@ certs:
|
||||
-addext "subjectAltName=IP:192.168.85.13,IP:127.0.0.1,DNS:localhost"
|
||||
@echo "==> Zertifikate in certs/ erstellt"
|
||||
|
||||
deploy-frontend:
|
||||
cd frontend && npm run build
|
||||
ssh root@192.168.85.20 "rm -rf /var/www/html/assets/*"
|
||||
scp -r frontend/dist/assets frontend/dist/index.html root@192.168.85.20:/var/www/html/
|
||||
ssh root@192.168.85.20 "chown -R www-data:www-data /var/www/html/ && chmod -R 755 /var/www/html/"
|
||||
@echo "==> Frontend deployed"
|
||||
|
||||
deploy-backend: backend
|
||||
@echo "==> Deploying Backend to $(BACKEND_HOST)..."
|
||||
ssh $(SSH_USER)@$(BACKEND_HOST) "systemctl stop rmm-backend || true"
|
||||
|
||||
Reference in New Issue
Block a user