add ci cd

parent 52527e87
Pipeline #840 passed with stages
in 2 minutes and 24 seconds
stages:
- build
- deploy
build:
stage: build
tags:
- ci-cd
script:
- echo "Собираем билд..."
- docker compose build --parallel
deploy:
stage: deploy
tags:
- ci-cd
only:
- master
script:
- echo "Делаем поставку..."
- docker compose down
- docker compose up -d --remove-orphans
services:
front:
build: ./
container_name: client
expose:
- '3000'
networks:
- app-network
networks:
app-network:
driver: bridge
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment