some s3 stuff
This commit is contained in:
parent
de77378e4c
commit
e7132adebd
|
@ -160,6 +160,7 @@ if which exa 2>&1 >> /dev/null;then
|
||||||
alias ls="exa"
|
alias ls="exa"
|
||||||
fi
|
fi
|
||||||
alias presirandr="arandr; feh --bg-fill bg.jpg"
|
alias presirandr="arandr; feh --bg-fill bg.jpg"
|
||||||
|
alias mc="~/bin/mc"
|
||||||
|
|
||||||
## Environment variables
|
## Environment variables
|
||||||
export HVSC_BASE="$HOME/Dokumente/sound/HVSC/"
|
export HVSC_BASE="$HOME/Dokumente/sound/HVSC/"
|
||||||
|
@ -185,8 +186,8 @@ function drone-add-netlify() {
|
||||||
|
|
||||||
function drone-add-s3() {
|
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_access_key_id --value "$(pass show management/minio/personal|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"
|
drone secret add --name aws_secret_access_key --value "$(pass show management/minio/personal|head -n 1)" "$1"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue