Add missing configs: traefik middlewares, gollum config.rb, brain nginx.conf
Some checks failed
Deploy Stacks / deploy (push) Failing after 5s
Some checks failed
Deploy Stacks / deploy (push) Failing after 5s
This commit is contained in:
12
stacks/gollum/config.rb
Normal file
12
stacks/gollum/config.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
module Gollum
|
||||
Gollum::GIT_ADAPTER = "my"
|
||||
end
|
||||
|
||||
Gollum::Hook.register(:post_commit, :hook_id) do |committer, sha1|
|
||||
committer.wiki.repo.git.pull('origin', committer.wiki.ref)
|
||||
committer.wiki.repo.git.push('origin', committer.wiki.ref)
|
||||
end
|
||||
|
||||
wiki_options = {}
|
||||
|
||||
Precious::App.set(:wiki_options, wiki_options)
|
||||
Reference in New Issue
Block a user