Skip to content

Commit

Permalink
Merge pull request #29 from tmknight/develop
Browse files Browse the repository at this point in the history
Update health check for interpreter flexibility
  • Loading branch information
tmknight committed Jul 20, 2023
2 parents 25c54ee + be41afd commit 96bf6fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/github-package-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,4 @@ jobs:
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

2 changes: 1 addition & 1 deletion scripts/healthcheck
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
CODE=99
URI="https://nordvpn.com/wp-admin/admin-ajax.php?action=get_user_info_data"
TEST=$(curl -fs "${URI}" | jq .status) || CODE=1
if [[ "${TEST:-unknown}" != unknown && ${CODE} -eq 99 ]]
if [ "${TEST:-unknown}" != unknown ] && [ ${CODE} -eq 99 ]
then
CODE=0
else
Expand Down

0 comments on commit 96bf6fb

Please sign in to comment.