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

Added "Deploy to production" stage

parent 57796c3c
stages: stages:
- build - build
- deploy - deploy
- production
build: build:
stage: build stage: build
...@@ -72,6 +73,24 @@ deploy:staging: ...@@ -72,6 +73,24 @@ deploy:staging:
only: only:
- master - 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: undeploy:review:
stage: deploy stage: deploy
variables: 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