Skip to content
Snippets Groups Projects
Unverified Commit 250eb656 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

fix

parent 8387e9ba
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ class Communication::Website::GithubFile < ApplicationRecord ...@@ -28,7 +28,7 @@ class Communication::Website::GithubFile < ApplicationRecord
def publish def publish
return unless valid_for_publication? && github.valid? return unless valid_for_publication? && github.valid?
add_to_batch(github, github_path) add_to_batch(github)
if github.commit_batch(github_commit_message) if github.commit_batch(github_commit_message)
update_column :github_path, manifest_data[:generated_path].call(self) update_column :github_path, manifest_data[:generated_path].call(self)
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment