Documentation
¶
Overview ¶
Package hooks runs lifecycle hooks. pre_build runs locally; pre_deploy, post_deploy and post_app_boot run on the target server. Entries are script paths or inline shell commands; executable files at .ferry/hooks/<name> are auto-discovered.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct {
Version string
Service string
Server string
Image string
Performer string
Runtime time.Duration
Preview string // preview SHA, empty for regular deploys
}
Env is the environment passed to every hook.
Click to show internal directories.
Click to hide internal directories.