File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 55SELENIUM_GITHUB_API_PULLS_URL=https://api.github.com/repos/SeleniumHQ/seleniumhq.github.io/pulls
66SELENIUM_ACCEPT_HEADER=" Accept: application/vnd.github+json"
77SELENIUM_AUTH_HEADER=" Authorization: Bearer ${SELENIUM_CI_TOKEN} "
8- SELENIUM_EXAMPLES_BRANCH=trunk
98SELENIUM_EXAMPLES_REPO=seleniumhq.github.io
109SELENIUM_EXAMPLES_ORG=SeleniumHQ
1110
1211if [[ " ${GITHUB_ACTIONS} " = " true" ]]; then
1312 SELENIUM_EXAMPLES_BRANCH=${GITHUB_HEAD_REF}
1413fi
1514
15+
1616USE_BASE_URL_SITE=" "
1717if [[ " ${NETLIFY} " = " true" ]]; then
1818 echo -e " \033[0;32mNetlify detected, deployment happening at ${DEPLOY_PRIME_URL} ...\033[0m"
@@ -28,6 +28,11 @@ if [[ "${NETLIFY}" = "true" ]]; then
2828 fi
2929fi
3030
31+ if [[ " ${SELENIUM_EXAMPLES_BRANCH} " = " " ]]; then
32+ echo -e " \033[0;32mEmpty SELENIUM_EXAMPLES_BRANCH, setting to trunk...\033[0m"
33+ SELENIUM_EXAMPLES_BRANCH=trunk
34+ fi
35+
3136echo -e " \033[0;32mDeleting Hugo previously generated directories...\033[0m"
3237rm -rf website_and_docs/public
3338
You can’t perform that action at this time.
0 commit comments