Merge pull request #15 from josedev-union/gh-page-using-docs-case

Keep CHARTS_URL when gh page using docs foler
This commit is contained in:
Stefan Prodan 2020-11-28 11:36:38 +02:00 committed by GitHub
commit 3d92cc3118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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