ci: production preparations
This commit is contained in:
parent
23b50cb9b7
commit
730e21eec6
@ -1 +1 @@
|
|||||||
REACT_APP_DOMAIN="https://squiz.pena.digital"
|
REACT_APP_DOMAIN=""
|
||||||
|
@ -17,7 +17,16 @@ build-app:
|
|||||||
|
|
||||||
deploy-to-staging:
|
deploy-to-staging:
|
||||||
extends: .deploy_template
|
extends: .deploy_template
|
||||||
|
rules:
|
||||||
|
- if: "$CI_COMMIT_BRANCH == $STAGING_BRANCH"
|
||||||
tags:
|
tags:
|
||||||
- front
|
- front
|
||||||
- staging
|
- staging
|
||||||
|
|
||||||
|
deploy-to-prod:
|
||||||
|
extends: .deploy_template
|
||||||
|
rules:
|
||||||
|
- if: "$CI_COMMIT_BRANCH == $PRODUCTION_BRANCH"
|
||||||
|
tags:
|
||||||
|
- front
|
||||||
|
- prod
|
||||||
|
7
deployments/main/docker-compose.yaml
Normal file
7
deployments/main/docker-compose.yaml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user