From 41f299734c8f8478c0af5b2c5e73037ab7c5401c Mon Sep 17 00:00:00 2001
From: Dorchies David <david.dorchies@inrae.fr>
Date: Fri, 6 Aug 2021 17:48:47 +0200
Subject: [PATCH] ci: automatic push to github

- issue existing remote github (don't know how it is persistent between 2 pipelines)

Refs #11
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 68d5647..13d9d89 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -66,5 +66,5 @@ github:
     - git config --global user.email "gitlab@inrae.fr"
     - git config --global user.name "Gitlab CI"
   script:
-    - git remote add github https://github.com/inrae/hubeau.git
+    - git remote add github https://github.com/inrae/hubeau.git || exit 0
     - git push --mirror github
-- 
GitLab