Keep CHARTS_URL when gh page using docs foler

This commit is contained in:
Jose Bautista 2020-11-27 23:29:38 +02:00
parent 6b2c49090d
commit ceb10bb6ff

View file

@ -61,7 +61,7 @@ main() {
CHARTS_URL="https://${OWNER}.github.io/${REPOSITORY}" CHARTS_URL="https://${OWNER}.github.io/${REPOSITORY}"
fi fi
if [[ "$TARGET_DIR" != "." ]]; then if [[ "$TARGET_DIR" != "." && "$TARGET_DIR" != "docs" ]]; then
CHARTS_URL="${CHARTS_URL}/${TARGET_DIR}" CHARTS_URL="${CHARTS_URL}/${TARGET_DIR}"
fi fi