updated gitlab_get_user_public_key.sh

pull/2/head
Hari Sekhon 4 years ago
parent c1d661590f
commit 308e7801dd

@ -49,5 +49,5 @@ fi
echo "# Fetching SSH Public Key(s) from GitLab for account: $user" >&2
echo "#" >&2
curl -sS "https://gitlab.com/api/v4/users/$user/keys" |
curl -sS --fail "https://gitlab.com/api/v4/users/$user/keys" |
jq -r '.[].key'

Loading…
Cancel
Save