docs(global): update content and broken scripts

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
This commit is contained in:
Andrei Jiroh Halili 2024-10-12 19:37:10 +00:00
parent 25d3523d96
commit 84f090d0ec
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
6 changed files with 60 additions and 23 deletions

View file

@ -18,7 +18,6 @@ info() {
echo "info: $*"
}
if [[ $CI == "true" ]] && [[ $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web" ]]
&& [[ $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH ]]; then
if [[ $CI == "true" ]] && [[ $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web" ]] && [[ $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH ]]; then
npx wrangler pages publish ${_root_directory_git}/public --project-name ${CF_PAGES_PROJECT_NAME} --branch main
fi