From f2c392664233d18954779c667957972400cc5dc8 Mon Sep 17 00:00:00 2001 From: Aaftakhov Date: Mon, 10 Aug 2020 22:20:48 +0500 Subject: [PATCH] add / to report urls and redirects --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index d360206..9cd99be 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,14 +20,14 @@ if [[ ${INPUT_SUBFOLDER} != '' ]]; then fi #echo "index.html" -echo "" > ./${INPUT_ALLURE_HISTORY}/index.html # path +echo "" > ./${INPUT_ALLURE_HISTORY}/index.html # path echo "" >> ./${INPUT_ALLURE_HISTORY}/index.html #cat ./${INPUT_ALLURE_HISTORY}/index.html #echo "executor.json" echo '{"name":"GitHub Actions","type":"github","reportName":"Allure Report with history",' > executor.json echo "\"url\":\"${GITHUB_PAGES_WEBSITE_URL}\"," >> executor.json # ??? -echo "\"reportUrl\":\"${GITHUB_PAGES_WEBSITE_URL}/${INPUT_GITHUB_RUN_NUM}\"," >> executor.json +echo "\"reportUrl\":\"${GITHUB_PAGES_WEBSITE_URL}/${INPUT_GITHUB_RUN_NUM}/\"," >> executor.json echo "\"buildUrl\":\"https://github.com/${INPUT_GITHUB_REPO}/actions/runs/${INPUT_GITHUB_RUN_ID}\"," >> executor.json echo "\"buildName\":\"GitHub Actions Run #${INPUT_GITHUB_RUN_ID}\",\"buildOrder\":\"${INPUT_GITHUB_RUN_NUM}\"}" >> executor.json #cat executor.json