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,6 +122,7 @@ 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")
|
||||||
|
if self.repo == "tubearchivist":
|
||||||
GithubBackup(tag_name).save_tag()
|
GithubBackup(tag_name).save_tag()
|
||||||
|
|
||||||
def save_hook(self):
|
def save_hook(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user