Skip to content

Commit

Permalink
add push and pr flags to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
annabarnes1138 committed May 17, 2021
1 parent 7ef1335 commit c061938
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,7 @@ func init() {
uploadCmd.Flags().String("release-name-template", "{{ .Name }}-{{ .Version }}", "Go template for computing release names, using chart metadata")
uploadCmd.Flags().String("pages-branch", "gh-pages", "The GitHub pages branch")
uploadCmd.Flags().String("remote", "origin", "The Git remote used when creating a local worktree for the GitHub Pages branch")
uploadCmd.Flags().Bool("push", false, "Push index.yaml to the GitHub Pages branch (must not be set if --pr is set)")
uploadCmd.Flags().Bool("pr", false, "Create a pull request for index.yaml against the GitHub Pages branch (must not be set if --push is set)")
uploadCmd.Flags().Bool("packages-with-index", false, "Save a copy of the package files to the GitHub Pages branch")
}

0 comments on commit c061938

Please sign in to comment.