Commit 460b9cab authored by Denis Filatov's avatar Denis Filatov
Browse files

Update .gitlab-ci.yml

parent 3db250ae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,11 +14,11 @@ validate:
documentation:
  stage: build
  script:
    - curl https://gitlab-ci-token:$CI_DOC_TOKEN@forge.etsi.org/rep/forge-tools/asn2md/raw/master/asn2md.py
    - curl https://oauth2:$CI_DOC_TOKEN@forge.etsi.org/rep/forge-tools/asn2md/raw/master/asn2md.py
    - make doc
    - git add docs/*.md
    - git commit -m "Documentation update"
    - git remote rm origin && git remote add origin https://gitlab-ci-token:$CI_DOC_TOKEN@forge.etsi.org/rep/$CI_PROJECT_PATH.git
    - git remote rm origin && git remote add origin https://oauth2:$CI_DOC_TOKEN@forge.etsi.org/rep/$CI_PROJECT_PATH.git
    - git push origin HEAD:$CI_COMMIT_REF_NAME # Pushes to the same branch as the trigger
  only:
    changes: