We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec45612 commit 2eac9acCopy full SHA for 2eac9ac
.circleci/config.yml
@@ -88,17 +88,21 @@ jobs:
88
mkdir -p .circleci && cd .circleci
89
fetched=false
90
for i in $(seq 1 6); do
91
- res=$(curl -fsS https://api.github.com/repos/arangodb/docs-hugo/contents/.circleci?ref=$CIRCLE_SHA1)
92
- status=$?
93
- if [[ "$status" -eq 0 ]]; then
94
- urls=$(echo "$res" | jq ".[].download_url")
95
96
+ echo ""
+ res=$(curl -fsS https://api.github.com/repos/arangodb/docs-hugo/contents/.circleci?ref=$CIRCLE_SHA1) || curlStatus=$?
+ if [[ -z "${curlStatus:-}" ]]; then
+ urls=$(echo "$res" | jq ".[].download_url") || jqStatus=$?
+ if [[ -z "${jqStatus:-}" ]]; then
97
fetched=true
98
break
99
fi
+ echo "jq failed with $jqStatus, input:"
100
+ echo "$res"
101
+ else
102
+ echo "curl failed with $curlStatus"
103
- echo "$res"
104
+ unset curlStatus
105
+ unset jqStatus
106
sleep 10
107
done
108
if [[ "$fetched" = false ]]; then
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments