ci: production preparations

This commit is contained in:
skeris 2024-01-30 17:09:56 +03:00
parent 23b50cb9b7
commit 730e21eec6
3 changed files with 17 additions and 1 deletions

@ -1 +1 @@
REACT_APP_DOMAIN="https://squiz.pena.digital"
REACT_APP_DOMAIN=""

@ -17,7 +17,16 @@ build-app:
deploy-to-staging:
extends: .deploy_template
rules:
- if: "$CI_COMMIT_BRANCH == $STAGING_BRANCH"
tags:
- front
- staging
deploy-to-prod:
extends: .deploy_template
rules:
- if: "$CI_COMMIT_BRANCH == $PRODUCTION_BRANCH"
tags:
- front
- prod

@ -0,0 +1,7 @@
services:
squiz:
container_name: squiz
restart: unless-stopped
image: $CI_REGISTRY_IMAGE/main:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
hostname: squiz
tty: true