Commit 68d7f670 authored by vladislav's avatar vladislav
Browse files

escape colon command

parent c5dd8087
Pipeline #46187 passed with stage
in 11 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 && echo "apiVersion: v1" >> 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