diff --git a/.github/workflows/livecheck.yml b/.github/workflows/livecheck.yml index 0cd9424..5485e9c 100644 --- a/.github/workflows/livecheck.yml +++ b/.github/workflows/livecheck.yml @@ -24,12 +24,12 @@ jobs: RETRIES: 10 GITHUB_TOKEN: ${{ secrets.RETRY_TOKEN }} run: | - bundle exec script/livecheck || { - exit_code=$? + # bundle exec script/livecheck || { + exit_code=2 if (( $exit_code == 2 )) && (( ${RETRY:-0} < $RETRIES )); then - sleep 300 + sleep 1 gh workflow run livecheck --repo $GITHUB_REPOSITORY --ref $GITHUB_REF_NAME -f retry=$(( $RETRY + 1 )) else exit $exit_code fi - } + # }