From d4abfd548ce30ebc50cb5f0bab6270ff02c46b89 Mon Sep 17 00:00:00 2001 From: Dorchies David <david.dorchies@inrae.fr> Date: Fri, 6 Aug 2021 19:06:28 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 128e71c..40a8acd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,5 +66,6 @@ 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 || FAILED=true + - git remote add github git@github.com:inrae/hubeau.git || FAILED=true + - git remote set-url github git@github.com:inrae/hubeau.git - git push --mirror github -- GitLab