From 4df5f28f2fb06a788dd257b36fb159135d01620f Mon Sep 17 00:00:00 2001
From: Zack Wong <coffee@ucc.gu.uwa.edu.au>
Date: Sun, 24 Feb 2019 17:35:25 +0800
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 00f5fda..e9c0e01 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,6 +40,7 @@ deploy_testing:
   environment:
     name: test/$CI_COMMIT_REF_NAME
     url: https://$CI_COMMIT_REF_NAME.test.ucc.asn.au
+    on_stop: stop_testing
   except:
       - master
 
@@ -66,7 +67,7 @@ deploy_staging:
   only:
       - master
 
-stop_test:
+stop_testing:
   stage: deploy
   variables:
     GIT_STRATEGY: none
-- 
GitLab