diff --git a/cmd/flags.go b/cmd/flags.go index 8ac09ec..50bf6b3 100644 --- a/cmd/flags.go +++ b/cmd/flags.go @@ -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",