mirror of
https://github.com/tubearchivist/tubearchivist-server.git
synced 2024-11-22 03:40:12 +00:00
limit release backup to main repo only
This commit is contained in:
parent
4a3f7bee37
commit
63432192ea
@ -122,7 +122,8 @@ class GithubHook(WebhookBase):
|
|||||||
tag_name = self.hook["release"]["tag_name"]
|
tag_name = self.hook["release"]["tag_name"]
|
||||||
task = TaskHandler(self.repo_conf, tag_name=tag_name)
|
task = TaskHandler(self.repo_conf, tag_name=tag_name)
|
||||||
task.create_task("build_release")
|
task.create_task("build_release")
|
||||||
GithubBackup(tag_name).save_tag()
|
if self.repo == "tubearchivist":
|
||||||
|
GithubBackup(tag_name).save_tag()
|
||||||
|
|
||||||
def save_hook(self):
|
def save_hook(self):
|
||||||
"""save hook to disk for easy debugging"""
|
"""save hook to disk for easy debugging"""
|
||||||
|
Loading…
Reference in New Issue
Block a user