fix: correct git-pages host URL and publish script BASE return
This commit is contained in:
@@ -20,7 +20,7 @@ REPO_SLUG="${GITHUB_REPOSITORY:-}"
|
||||
OWNER="${REPO_SLUG%%/*}"
|
||||
REPO="${REPO_SLUG##*/}"
|
||||
SHA8="${GITHUB_SHA:0:8}"
|
||||
REPORT_URL="https://${PAGES_HOST}/${OWNER}/${REPO}/reports/${SHA8}/index.html"
|
||||
REPORT_BASE="https://${PAGES_HOST}/${OWNER}/${REPO}/reports/${SHA8}"
|
||||
|
||||
PUBLISH_BASE="${GIT_PAGES_PUBLISH_URL%/}"
|
||||
PUBLISH_SITE_URL="${PUBLISH_BASE}/"
|
||||
@@ -68,4 +68,4 @@ case "$HTTP_CODE" in
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "$REPORT_URL"
|
||||
echo "$REPORT_BASE"
|
||||
|
||||
Reference in New Issue
Block a user