Fix Webhooks for Drone not working in Gitea 1.16

By default, only external requests are allowed:

https://github.com/go-gitea/gitea/pull/17482
This commit is contained in:
2022-02-12 10:53:45 -06:00
parent a2f1b7ccc6
commit 03c7940f1c
3 changed files with 13 additions and 1 deletions

View File

@@ -90,7 +90,8 @@ template "#{config_directory}/app.ini" do
postgresql_password: gitea_data_bag_item["postgresql_password"],
smtp_host: smtp_credentials["relayhost"],
smtp_user: smtp_credentials["user_name"],
smtp_password: smtp_credentials["password"]
smtp_password: smtp_credentials["password"],
config: node["kosmos_gitea"]["config"]
notifies :restart, "service[gitea]", :delayed
end