Skip to content

Commit

Permalink
Update start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tjbck committed May 31, 2024
1 parent ab0ff07 commit d48e51c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@ download_pipelines() {
cd "$destination" || exit
git sparse-checkout set "$subdir"
)
elif [[ "$path" =~ \.py$ ]]; then
# It's a single .py file (but not from GitHub)
dest_file=$(basename "$path")
curl -L "$path" -o "$destination/$dest_file"
else
echo "Invalid PIPELINES_URLS format."
echo "Invalid URL format: $path"
exit 1
fi
}
Expand Down

0 comments on commit d48e51c

Please sign in to comment.