Commit 9da568f5 authored by Serafino Pirronitto's avatar Serafino Pirronitto
Browse files

Update .gitlab-ci.yml file

parent 2846d2c8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ git:
    - cp API.css background_highlight.css public/ #css files
    - unzip official.zip -d public/official/
  after_script:
    - docker run --rm -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./:/data" bitnami/git -c "cd data && git remote add gitlab_origin https://HTML_SPEC_TOKEN:$HTML_SPEC_TOKEN@forge.etsi.org/rep/cim/NGSI-LD.git && git add public/official/ && git add public/index.html && git add public/*.css && git commit -m 'output from pipeline' && git push gitlab_origin HEAD:html_specification -o ci.skip"
    - docker run --rm -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./:/data" bitnami/git -c "cd data && git remote set-url gitlab_origin https://HTML_SPEC_TOKEN:$HTML_SPEC_TOKEN@forge.etsi.org/rep/cim/NGSI-LD.git && git add public/official/ && git add public/index.html && git add public/*.css && git commit -m 'output from pipeline' && git push gitlab_origin HEAD:html_specification -o ci.skip"
  rules:
    - changes:
      - API.docx