Skip to content

Commit 4623852

Browse files
committed
Fix chart URL with target_dir
Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
1 parent ade295d commit 4623852

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ main() {
4646
CHARTS_URL="https://${OWNER}.github.io/${REPOSITORY}"
4747
fi
4848

49+
if [[ "$TARGET_DIR" != "." ]]; then
50+
CHARTS_URL="${CHARTS_URL}/${TARGET_DIR}"
51+
fi
52+
4953
if [[ -z "$REPO_URL" ]]; then
5054
REPO_URL="https://x-access-token:${GITHUB_TOKEN}@github.com/${OWNER}/${REPOSITORY}"
5155
fi

0 commit comments

Comments
 (0)