ci: re-enable publishing master artifacts (#14973)
This commit is contained in:
parent
3651d8d673
commit
b7e76cc2e1
|
@ -37,7 +37,7 @@ function publishRepo {
|
||||||
BUILD_REPO="${COMPONENT}-builds"
|
BUILD_REPO="${COMPONENT}-builds"
|
||||||
REPO_DIR="tmp/${BUILD_REPO}"
|
REPO_DIR="tmp/${BUILD_REPO}"
|
||||||
|
|
||||||
if [ -n "$CREATE_REPOS" ]; then
|
if [ -n "${CREATE_REPOS:-}" ]; then
|
||||||
curl -u "$ORG:$TOKEN" https://api.github.com/user/repos \
|
curl -u "$ORG:$TOKEN" https://api.github.com/user/repos \
|
||||||
-d '{"name":"'$BUILD_REPO'", "auto_init": true}'
|
-d '{"name":"'$BUILD_REPO'", "auto_init": true}'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue