Commit 145adb41 authored by Thierry Bressure's avatar Thierry Bressure
Browse files

Update .gitlab-ci.yml

parent 35a713d3
Pipeline #181 passed with stages
in 31 minutes and 48 seconds
......@@ -60,6 +60,7 @@
environment:
name: staging
url: http://staging.bressure.net:8082/
on_stop: stop_staging
only:
- master
......@@ -76,6 +77,44 @@
environment:
name: production
url: http://production.bressure.net:8082/
on_stop: stop_production
only:
- master
when: manual
stop_staging:
stage: staging
tags:
- staging
- docker
- regular
variables:
GIT_STRATEGY: none
script:
- echo "Remove blog"
- docker-compose down
when: manual
environment:
name: staging
action: stop
stop_production:
stage: production
tags:
- production
- docker
- regular
variables:
GIT_STRATEGY: none
script:
- echo "Remove blog"
- docker-compose down
when: manual
environment:
name: production
action: stop
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