diff --git a/scripts/helmcharts/openreplay/templates/job.yaml b/scripts/helmcharts/openreplay/templates/job.yaml index f5f5a259f..b9e596cf6 100644 --- a/scripts/helmcharts/openreplay/templates/job.yaml +++ b/scripts/helmcharts/openreplay/templates/job.yaml @@ -78,7 +78,7 @@ spec: # Function to check if GitHub is available check_github() { for i in {1..10}; do - if ping -c 1 github.com &> /dev/null; then + if ping -c 1 github.com &> /dev/null || wget -q --spider https://github.com; then echo "GitHub is available." git clone {{ .Values.global.dbMigrationUpstreamRepoURL | default "https://github.com/openreplay/openreplay" }} . break