From f4268e0578ac4dcde727198438d7f71ba60efc1f Mon Sep 17 00:00:00 2001 From: "Vincent Namy (EDU_GE)" <vincent.namy@edu.ge.ch> Date: Thu, 26 Dec 2024 16:46:15 +0100 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20le=20fichier=20.gitlab?= =?UTF-8?q?-ci.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9cac766..9c9dbec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,8 @@ format_json: image: alpine:latest before_script: - apk add --no-cache jq git + - git remote remove origin + - git remote add origin https://oauth2:$OAUTH_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git script: - echo "Current branch:" $CI_COMMIT_REF_NAME - for file in Notebooks/*.ipynb; do jq --indent 1 . "$file" > tmp && mv tmp "$file"; done -- GitLab