summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2017-04-25 19:40:28 -0400
committerMicah Anderson <micah@riseup.net>2017-04-25 19:42:18 -0400
commit9d096ace3692f67fe82a97d648c930c2da19a830 (patch)
tree9150111dda9abffef5d29774eb956623042d7e4e /.gitlab-ci.yml
parentada9645de11d75701db8202f34de5c26a2b749c2 (diff)
Add a production environment for demovpn, demomail
Pull duplicated bits into a function
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5654238e..2cef28e0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,3 +75,13 @@ latest:
- master
script:
- su -c '/usr/bin/unbuffer ./ci-build.sh' cirunner
+
+production:
+ stage: deploy
+ environment:
+ name: production
+ only:
+ - master
+ when: manual
+ script:
+ - su -c '/usr/bin/unbuffer ./ci-build.sh' cirunner