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

fix publish with previous path

parent 1f780c9f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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