From abe4102734f7b848e4d26e7f5a497e7a23e9ad85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Thu, 21 Oct 2021 15:45:03 +0200
Subject: [PATCH] Update .gitlab-ci.yml file

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index af7e4fa..56788a2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,7 +35,7 @@ deploy:
     - if [ "$CHANGES" -gt "0" ]; then 
         git status;
         git commit -m "Update public from ${CI_COMMIT_SHORT_SHA}";
-        git push HEAD:master -o ci.skip;
+        git push origin "${CI_DEFAULT_BRANCH}" -o ci.skip;
       fi
   only:
   - master
\ No newline at end of file
-- 
GitLab