Commit a696d5e3 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Maybe I don't actually need the diff

parent 0f57e828
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -146,8 +146,8 @@ translate_schemas:
    - DIFF=$(git diff -w origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME -- 103280/TS_103_280.schema.json)
    - echo $DIFF
    - echo $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
    - if [ ! -z "$DIFF" ]; then echo "Changes detected"; fi 
#    - if [ ! -z "$DIFF" ]; then git checkout -b branch-${CI_JOB_ID}; git add file.yaml && git commit -m "Updated file.yaml" && git push -o ci.skip origin branch-${CI_JOB_ID}:${CI_COMMIT_REF_NAME}; fi 
    - git checkout -b branch-${CI_JOB_ID}
    - git add 103280/TS_103_280.schema.json && git commit -m "Automatic translation of schema" && git push -o ci.skip origin branch-${CI_JOB_ID}:${CI_COMMIT_REF_NAME}
  tags:
    - docker