diff --git a/app/models/communication/website/with_media.rb b/app/models/communication/website/with_media.rb index 8aaacbda5841cd3adcd727d7257dacb457220dee..032f22aecdf529b21a4bb9905fb3b3b8d0ed5a13 100644 --- a/app/models/communication/website/with_media.rb +++ b/app/models/communication/website/with_media.rb @@ -24,7 +24,7 @@ module Communication::Website::WithMedia super active_storage_blobs.each do |blob| blob.analyze unless blob.analyzed? - github.publish(path: "_media/#{blob.id}.md", + github.publish(path: blob_github_path_generated(blob), commit: "[Medium] Save ##{blob.id}", data: blob_to_jekyll(blob)) end