Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
as-is
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
project-templates
web
as-is
Commits
097aef1e
Commit
097aef1e
authored
Apr 27, 2017
by
Vadym Gidulian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added "Deploy to production" stage
parent
313c9bfa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
.gitlab-ci.yml
.gitlab-ci.yml
+16
-0
No files found.
.gitlab-ci.yml
View file @
097aef1e
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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment