[zsh] update minio pass path for drone-add-s3
This commit is contained in:
parent
a25c86235e
commit
d5c8166b8d
|
@ -190,8 +190,8 @@ function drone-add-netlify() {
|
|||
|
||||
function drone-add-s3() {
|
||||
(
|
||||
drone secret add --name aws_access_key_id --data "$(pass show management/minio/personal|grep User|cut -d: -f2|tr -d ' ')" "$1"
|
||||
drone secret add --name aws_secret_access_key --data "$(pass show management/minio/personal|head -n 1)" "$1"
|
||||
drone secret add --name aws_access_key_id --data "$(pass show data/minio/personal|grep User|cut -d: -f2|tr -d ' ')" "$1"
|
||||
drone secret add --name aws_secret_access_key --data "$(pass show data/minio/personal|head -n 1)" "$1"
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue