fix s3 restic_repo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Philipp Rothmann 2021-11-16 11:44:10 +01:00
parent b2e2fc9d13
commit c750d6402f
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ fi
if [ -n "$s3_key_file" ] && [ -f "$s3_key_file" ] && [ -n "$AWS_ACCESS_KEY_ID" ]; then
AWS_SECRET_ACCESS_KEY="$(cat "${s3_key_file}")"
export AWS_SECRET_ACCESS_KEY
restic_repo="s3:$restic_host$server_name"
restic_repo="s3:$restic_host:/$server_name"
fi
if [ -z "$restic_repo" ]; then