Commit 483603e2 authored by Anton Borisov's avatar Anton Borisov

Update .gitlab-ci.yml

parent 6eca9f83
Pipeline #178 canceled with stages
in 16 seconds
......@@ -4,7 +4,8 @@ stages:
- build_prod
- deploy_to_test
- run_tests
- deploy_to_prod
- deploy_seed_to_prod
- deploy_node_to_prod
build_dev:
stage: build_dev
......@@ -107,8 +108,21 @@ run_test:
tags:
- buidl1-dind
deploy_to_prod:
stage: deploy_to_prod
deploy_node_to_prod:
stage: deploy_node_to_prod
script:
- cd ~/infra && git reset --hard HEAD && git pull
- ansible-playbook -i ../inventory/hosts cloud.yml -e "CI_PIPELINE_ID=${CI_PIPELINE_ID}" -t "destream-blockchain"
environment:
name: ${CI_COMMIT_REF_NAME}
url: https://xvideos.com
only:
- release
tags:
- buidl1-shell
deploy_seed_to_prod:
stage: deploy_seed_to_prod
image: docker:stable
services:
- docker:dind
......
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