cncf-tags / cloud-native-ai

https://cncf-tags.github.io/cloud-native-ai/
4 stars 3 forks source link

Resolve bugs from deployment via Github action #29

Closed LoveYourself999 closed 1 month ago

LoveYourself999 commented 1 month ago

An empty [id] parameter is being generated in the paths, which results in a conflicting root path "/conferences" being generated. This can lead to the error during deployment. To fix this issue, I filtered out any empty id parameters from the paths generated by getStaticPaths by adding: const validVideos = videos.filter(video => video.video_id.trim() !== '');