drone repo update

This subcommand updates a named repository. Please note this command requires write access to the repository.


NAME:
   drone repo update - update a repository

USAGE:
   drone repo update [command options] [arguments...]

OPTIONS:
   --trusted           repository is trusted
   --gated             repository is gated
   --timeout value     repository timeout (default: 0s)
   --visibility value  repository visibility
   --config value      repository configuration path (e.g. .drone.yml)
   --build-counter value  repository starting build number (default: 0)
   --unsafe               validate updating the build-counter is unsafe
   


Example command updates the trusted flag:

$ drone repo update octocat/hello-world --trusted=true

Example command updates the gated flag:

$ drone repo update octocat/hello-world --gated=true

Example command updates the timeout value:

$ drone repo update octocat/hello-world --timeout=90m

Example command updates the drone.yml file path

$ drone repo update octocat/hello-world --config=.github/.drone.yml

Example command updates the current build number

$ drone repo update octocat/hello-world --build-counter=10 --unsafe

Is there a mistake on this page? Please let us know or edit this page.