-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhtmlgraph-deploy.toml
More file actions
53 lines (45 loc) · 1.48 KB
/
htmlgraph-deploy.toml
File metadata and controls
53 lines (45 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# HtmlGraph Deployment Configuration
#
# This file configures the deployment process for your project.
# You can customize steps, hooks, and plugin updates.
[project]
name = "htmlgraph"
pypi_package = "htmlgraph" # PyPI package name (if different from project name)
[deployment]
# Deployment steps (in order)
# Available steps: git-push, build, pypi-publish, local-install, update-plugins
steps = [
"git-push",
"build",
"pypi-publish",
"local-install",
"update-plugins"
]
[deployment.git]
branch = "main"
remote = "origin"
push_tags = true
[deployment.build]
command = "uv build"
clean_dist = true
[deployment.pypi]
# Environment variable for PyPI token (reads from .env if not set)
token_env_var = "PyPI_API_TOKEN" # or UV_PUBLISH_TOKEN
wait_after_publish = 10 # seconds to wait after publishing
[deployment.plugins]
# Plugin update commands (uses {package} and {version} placeholders)
# Uncomment and customize as needed:
claude = "claude plugin update {package}"
# gemini = "gemini extensions update {package}" # Not implemented yet
# codex = "codex skills update {package}" # Not implemented yet
[deployment.hooks]
# Custom commands to run at various stages
# Commands can use {version} and {package} placeholders
pre_build = []
post_build = []
pre_publish = []
post_publish = []
# Example hooks:
# pre_build = ["python scripts/update_version.py {version}"]
# post_build = ["python scripts/validate_build.py"]
# post_publish = ["python scripts/notify_release.py {version}"]