drone add s3 function
This commit is contained in:
parent
8545f0c267
commit
de77378e4c
|
@ -183,6 +183,13 @@ function drone-add-netlify() {
|
|||
)
|
||||
}
|
||||
|
||||
function drone-add-s3() {
|
||||
(
|
||||
drone secret add --name aws_access_key_id --value "$(pass show management/minio |grep User|cut -d: -f2|tr -d ' ')" "$1"
|
||||
drone secret add --name aws_secret_access_key --value "$(pass show management/minio|head -n 1)" "$1"
|
||||
)
|
||||
}
|
||||
|
||||
function drone() {
|
||||
(
|
||||
source ~/.drone-env
|
||||
|
|
Reference in a new issue