Commit 2c66d78a authored by Denis Filatov's avatar Denis Filatov
Browse files

Update .gitlab-ci.yml

parent f74a8dc5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -18,10 +18,10 @@ documentation:
        curl -o asn2md.py --header "PRIVATE-TOKEN:$CI_JOB_TOKEN" "https://forge.etsi.org/rep/api/v4/projects/592/repository/files/asn2md.py/raw?ref=master"
      fi
    - make -f .gitlab-ci.mk doc
    - git add docs/*.md
    - >
      git add docs/*.md
      if [ -z "$(git status --untracked-files=no --porcelain)" ]; then
        echo "No changes found"
        echo "No changes found";
      else 
        git commit -m "Documentation update" &&
        git remote rm origin && git remote add origin "https://${GITLAB_USER_LOGIN}:${CI_JOB_TOKEN}@forge.etsi.org/rep/$CI_PROJECT_PATH.git" &&