mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
add pages-branches param
This commit is contained in:
parent
1ae50735a1
commit
dc634287aa
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,13 @@ var ServeFlags = []cli.Flag{
|
|||
EnvVars: []string{"PAGES_DOMAIN"},
|
||||
Value: "codeberg.page",
|
||||
},
|
||||
// Default branches to fetch assets from
|
||||
&cli.StringFlag{
|
||||
Name: "pages-branches",
|
||||
Usage: "defines branches to fetch assets from",
|
||||
EnvVars: []string{"PAGES_BRANCHES"},
|
||||
Value: "pages",
|
||||
},
|
||||
// GiteaRoot specifies the root URL of the Gitea instance, without a trailing slash.
|
||||
&cli.StringFlag{
|
||||
Name: "gitea-root",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue