supersam/deploy.sh

9 lines
318 B
Bash
Executable File

#!/bin/bash
# Dev deploy: builds the dev frontend container (dev.mkn8n.ru) from /opt/supersam-dev.
# IMPORTANT: this is the DEV deploy. It must NOT touch /opt/supersam (prod).
set -e
cd /opt/supersam-dev
git pull origin dev
docker compose -f docker-compose.dev.yml up -d --build
echo 'Dev deploy completed at' $(date)