-
Describe the bug To Reproduce
Expected behavior Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
This is how we currently implement the check: https://github.com/upptime/cli/blob/c6e6c3b24bc0a2a92c13bc3a08b898a2a1075260/src/update.ts#L133 Any ideas what could be going wrong? |
Beta Was this translation helpful? Give feedback.
-
Well, that works for normal strings, but not for Actions secrets. Could you point me to the implementation of Thanks |
Beta Was this translation helpful? Give feedback.
-
This is how we deal with Actions secrets in This is the source for I don't see it anywhere that you can use an Actions secret (environment variable) for |
Beta Was this translation helpful? Give feedback.
-
Thanks, then I suggest replacing these : result.data.includes(site.__dangerous__body_down)
result.data.includes(site.__dangerous__body_degraded)
!result.data.includes(site.__dangerous__body_degraded_if_text_missing)
!result.data.includes(site.__dangerous__body_down_if_text_missing) With these : result.data.includes(replaceEnvironmentVariables(site.__dangerous__body_down))
result.data.includes(replaceEnvironmentVariables(site.__dangerous__body_degraded))
!result.data.includes(replaceEnvironmentVariables(site.__dangerous__body_degraded_if_text_missing))
!result.data.includes(replaceEnvironmentVariables(site.__dangerous__body_down_if_text_missing))
It's not, I just hoped it would work, and when it didn't I submitted this post. Thanks |
Beta Was this translation helpful? Give feedback.
Thanks, then I suggest replacing these :
With these :