updo auto build...

This commit is contained in:
Simon 2023-07-31 22:54:14 +07:00
parent e526f00734
commit 6e8974d54b
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
3 changed files with 1 additions and 17 deletions

View File

@ -48,7 +48,7 @@ services:
- tubearchivist_network
tubearchivist:
container_name: tubearchivist
build: ../builder/clone/tubearchivist-website/tubearchivist/web
build: ./tubearchivist/web
restart: always
volumes:
- ./volume/tubearchivist/data:/data

View File

@ -45,14 +45,6 @@ class WebhookBase:
"rebuild": [
["docker", "compose", "-f", "../docker/docker-compose.yml", "up", "-d", "--build", "docs"]
]
},
"tubearchivist-server": {
"gh_user": "tubearchivist",
"gh_repo": "tubearchivist-server",
"unstable_keyword": "#build",
"rebuild": [
["docker", "compose", "-f", "../docker/docker-compose.yml", "up", "-d", "--build", "tubearchivist"]
]
}
}
ROADMAP_HOOK_URL = environ.get("ROADMAP_HOOK_URL")

View File

@ -79,14 +79,6 @@ class GithubHook(WebhookBase):
TaskHandler(self.repo_conf).create_task("rebuild")
return
if self.repo == "tubearchivist-server":
to_rebuild = self.check_commit_message()
if to_rebuild:
TaskHandler(self.repo_conf).create_task("rebuild")
else:
print("build keyword not found in commit message")
return
self._check_readme()
build_message = self.check_commit_message()