Commit 50aa9bcb authored by Vadym Gidulian's avatar Vadym Gidulian

Added "Deploy to production" stage

parent 57796c3c
stages:
- build
- deploy
- production
build:
stage: build
......@@ -72,6 +73,24 @@ deploy:staging:
only:
- master
deploy:production:
stage: production
variables:
GIT_STRATEGY: none
script:
- deploy html dist/
- deploy --chown
when: manual
dependencies:
- build
tags:
- gviagroup-hosting
environment:
name: production
url: $HOSTING_SITE_URL
only:
- master
undeploy:review:
stage: deploy
variables:
......
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