Skip to content
Snippets Groups Projects
Commit 8d70f806 authored by Vincent Namy (EDU_GE)'s avatar Vincent Namy (EDU_GE)
Browse files

Mettre à jour le fichier .gitlab-ci.yml

parent 2b1a63bc
Branches
No related tags found
No related merge requests found
stages:
- format
format_json:
stage: format
image: alpine:latest
before_script:
- apk add --no-cache jq git
script:
- for file in Notebooks/*.ipynb; do jq --indent 1 . "$file" > tmp && mv tmp "$file"; done
- git add --all
- git commit -m "Formatted IPYNB files"
- git push origin $CI_COMMIT_REF_NAME
rules:
- changes:
- "*.ipynb"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment