drone repo update

Updated 2 years ago by Admin

このサブコマンドは、名前付きリポジトリを更新します。このコマンドには、リポジトリへの書き込みアクセスが必要であることに注意してください。

NAME:
drone repo update - update a repository

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

OPTIONS:
--trusted repository is trusted
--protected repository is protected
--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

コマンドの例は信頼できるフラグを更新します:

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

保護フラグを更新するコマンドの例:

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

例のコマンドはタイムアウト値を更新します:

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

例のコマンドはdrone.ymlファイルパスを更新します:

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

例のコマンドは現在のビルド番号を更新します:

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


How did we do?