Commit c5dd8087 authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

Merge branch 'vladislav_shishko-master-patch-85059' into 'master'

Update pages.yml

See merge request osdu/platform/ci-cd-pipelines!271
parents 3fbfb358 77355f4d
Pipeline #46186 passed with stages
in 19 seconds
......@@ -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