Commit 77355f4d authored by Vladislav Shishko (EPAM)'s avatar Vladislav Shishko (EPAM) Committed by Oleksandr Kosse (EPAM)
Browse files

Update pages.yml

parent 3fbfb358
......@@ -20,7 +20,7 @@ pages:
## publish GCP helm charts
- STATUS_CODE=$(curl --write-out '%{http_code}' --silent --output /dev/null ${CI_PAGES_URL}/index.yaml)
- echo $STATUS_CODE
- if [ "$STATUS_CODE" -ne 200 ] ; then touch index.yaml ; else curl --silent --show-error ${CI_PAGES_URL}/index.yaml -o "index.yaml" ; fi
- if [ "$STATUS_CODE" -ne 200 ] ; then touch index.yaml && echo "apiVersion: v1" >> index.yaml; else curl --silent --show-error ${CI_PAGES_URL}/index.yaml -o "index.yaml" ; fi
- helm package $OSDU_GCP_HELM_PACKAGE_CHARTS --destination ./public
- helm repo index --url ${CI_PAGES_URL} --merge index.yaml .
- sed -i 's|public/||g' index.yaml
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment