Commit 097aef1e authored by Vadym Gidulian's avatar Vadym Gidulian

Added "Deploy to production" stage

parent 313c9bfa
stages: stages:
- deploy - deploy
- production
deploy:review: deploy:review:
stage: deploy stage: deploy
...@@ -46,6 +47,21 @@ deploy:staging: ...@@ -46,6 +47,21 @@ deploy:staging:
only: only:
- master - master
deploy:production:
stage: production
script:
- rm -rf .git .gitignore .gitlab .gitlab-ci.yml
- deploy html ./
- deploy --chown
when: manual
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