Commit 59f86eae authored by Serafino Pirronitto's avatar Serafino Pirronitto
Browse files

Update .gitlab-ci.yml file

parent aed30070
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -99,13 +99,13 @@ git:
    - "images_extraction"
    - "generate_temp_docx"
    - "official_html"
  before_script: #copy into public everything it needs to make the page work
  script: #copy into public everything it needs to make the page work
    - cp ./API/*.html public/editing/ #editing_html files
    - cp -r ./API/dist/ public/editing/ #javascript files
    - cp -r ./API/media/ public/editing/ #images
    - cp API.css background_highlight.css public/ #css files
    - unzip official.zip -d public/official/
  script:
  after_script:
    - docker run --rm -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./:/data" bitnami/git -c "git config --global user.name "$GIT_USER" && git config --global user.email "$GIT_USER_EMAIL" && cd data && git remote add gitlab_origin https://oauth2:$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 origin HEAD:html_specification -o ci.skip"

pages: