(cherry picked from commit 819d829c41
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
@ -17,9 +17,15 @@ source ../ci/rust-version.sh
|
|||||||
# Build from /src into /build
|
# Build from /src into /build
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
# Publish only from merge commits and release tags
|
eval "$(../ci/channel-info.sh)"
|
||||||
|
|
||||||
|
# Publish only from merge commits and beta release tags
|
||||||
if [[ -n $CI ]]; then
|
if [[ -n $CI ]]; then
|
||||||
if [[ -z $CI_PULL_REQUEST ]]; then
|
if [[ -z $CI_PULL_REQUEST ]]; then
|
||||||
|
if [[ -n $CI_TAG ]] && [[ $CI_TAG != $BETA_CHANNEL* ]]; then
|
||||||
|
echo "not a beta tag"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
./publish-docs.sh
|
./publish-docs.sh
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user