diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9c9dbecc31dc454483329bcd06b76f2b1c7f1a12..b3fe34a897ba0fb717df994ccbd4b375a57f7512 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ format_json: - 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 + - for file in Notebooks/*.ipynb; do jq --raw-output --sort-keys --indent 1 . "$file" > tmp && mv tmp "$file"; done - git config --global user.email "ci-bot@example.com" - git config --global user.name "CI Bot" - git fetch --unshallow