mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Use correct build url (#10258)
This commit is contained in:
parent
9e7acacb06
commit
e52118db93
@ -22,12 +22,12 @@ if [[ "${PULL_REQUEST}" == "false" ]]; then
|
|||||||
else
|
else
|
||||||
if [[ "$(curl -sSLf -H "Accept: application/vnd.github.v3+json" -H "Authorization: token $GITHUB_TOKEN" \
|
if [[ "$(curl -sSLf -H "Accept: application/vnd.github.v3+json" -H "Authorization: token $GITHUB_TOKEN" \
|
||||||
"https://api.github.com/repos/home-assistant/frontend/pulls/${REVIEW_ID}" | jq '.labels[].name' -r)" =~ "$TARGET_LABEL" ]]; then
|
"https://api.github.com/repos/home-assistant/frontend/pulls/${REVIEW_ID}" | jq '.labels[].name' -r)" =~ "$TARGET_LABEL" ]]; then
|
||||||
createStatus "pending" "Building gallery preview" "$DEPLOY_URL"
|
createStatus "pending" "Building gallery preview" "https://app.netlify.com/sites/home-assistant-gallery/deploys/$BUILD_ID"
|
||||||
gulp build-gallery
|
gulp build-gallery
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
createStatus "success" "Build complete" "$DEPLOY_URL"
|
createStatus "success" "Build complete" "$DEPLOY_URL"
|
||||||
else
|
else
|
||||||
createStatus "error" "Build failed" "$DEPLOY_URL"
|
createStatus "error" "Build failed" "https://app.netlify.com/sites/home-assistant-gallery/deploys/$BUILD_ID"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
createStatus "success" "Build was not requested by PR label"
|
createStatus "success" "Build was not requested by PR label"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user