diff --git a/app/models/communication/website/github_file.rb b/app/models/communication/website/github_file.rb index b2009d2e95d39da5bb96faaebcb7c9b147a25d43..a909b66eac784711a3777b2aedce03ee8c18dfb1 100644 --- a/app/models/communication/website/github_file.rb +++ b/app/models/communication/website/github_file.rb @@ -28,7 +28,7 @@ class Communication::Website::GithubFile < ApplicationRecord def publish return unless valid_for_publication? && github.valid? - add_to_batch(github) + add_to_batch(github, github_path) if github.commit_batch(github_commit_message) update_column :github_path, manifest_data[:generated_path].call(self) end