drone secret add
このサブコマンドは、新しいリポジトリシークレットを作成します。このコマンドには、リポジトリへのプッシュ権限が必要であることに注意してください。
NAME:
drone secret add - adds a secret
USAGE:
drone secret add [command options] [repo/name] [secret] [value]
OPTIONS:
--repository value repository name (e.g. octocat/hello-world)
--name value secret name
--data value secret value
--allow-pull-request permit read access to pull requests
使用例、シークレットを作成します:
$ drone secret add octocat/hello-world my_token e72e16c7e42f29
使用例、ファイルからシークレットを作成します:
$ drone secret add octocat/hello-world my_token @/path/to/secret.json