Commit 31e9cea5 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Customize index.html for each project

parent 429c0a72
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -99,6 +99,8 @@ pages:
     curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/index%2Ehtml/raw?ref=upgradeIndex" >> index.html
    - |
     export SPEC_NAME=$(ls | grep *.md | cut -d'.' -f1)
    - |
     sed -i 's/PROJECT/'$CI_PROJECT_NAME'/g' index.html
  script:
    - echo 'Publishing on pages'
    -  ./publish_on_pages.sh updateIndex.py $CI_PAGES_URL ${CI_PROJECT_NAME} $TAG_NAME index.html $CLEAN_WEB_PAGES $SPEC_NAME;