From 828139a5fa1c8e3d2cfb3fa92f31a906886f161c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 7 Dec 2018 14:51:47 +0100
Subject: [PATCH] Restrict deploy job to master branch of main project

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 10a010e..02e2a54 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,6 +29,8 @@ build:
 
 deploy:
   stage: deploy
+  only:
+    - master@Dynare/website
   tags:
     - secure
   dependencies:
-- 
GitLab