|
@@ -11,13 +11,12 @@ git pull origin master
|
|
|
|
|
|
|
|
# 2. Собираем фронтенд
|
|
# 2. Собираем фронтенд
|
|
|
echo "building frontend..."
|
|
echo "building frontend..."
|
|
|
-npm install
|
|
|
|
|
-./build_frontend.sh
|
|
|
|
|
|
|
+npm install --legacy-peer-deps
|
|
|
|
|
+bash build_frontend.sh
|
|
|
|
|
|
|
|
# 3. Обновляем бэкенд
|
|
# 3. Обновляем бэкенд
|
|
|
echo "updating backend..."
|
|
echo "updating backend..."
|
|
|
-source backend/venv/bin/activate
|
|
|
|
|
-pip install -r backend/requirements.txt
|
|
|
|
|
|
|
+./backend/venv/bin/pip install -r backend/requirements.txt
|
|
|
|
|
|
|
|
# 4. Перезапуск
|
|
# 4. Перезапуск
|
|
|
echo "restarting services..."
|
|
echo "restarting services..."
|