Skip to content
Snippets Groups Projects
Commit 31e9cea5 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Customize index.html for each project

parent 429c0a72
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment