From 494a25e688fc4b8f6ee5ca64c6ac8d92050ebc58 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 22 Apr 2025 14:35:20 +0000 Subject: [PATCH] fix: make site health check eaiser to use --- .env.example | 23 +++++++++++++++++++ .github/scripts/check_registry_site_health.sh | 0 2 files changed, 23 insertions(+) create mode 100644 .env.example mode change 100644 => 100755 .github/scripts/check_registry_site_health.sh diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..e4ec19d4 --- /dev/null +++ b/.env.example @@ -0,0 +1,23 @@ +# --- +# These are used for the site health script, run from GitHub Actions. They can +# be set manually if you need to run the script locally. + +# Coder admins for Instatus can get this value from https://dashboard.instatus.com/developer +export INSTATUS_API_KEY= + +# Can be obtained from calling the Instatus API with a valid token. This value +# might not actually need to be private, but better safe than sorry +# https://instatus.com/help/api/status-pages +export INSTATUS_PAGE_ID= + +# Can be obtained from calling the Instatus API with a valid token. This value +# might not actually need to be private, but better safe than sorry +# https://instatus.com/help/api/components +export INSTATUS_COMPONENT_ID= + +# Can be grabbed from https://vercel.com/codercom/registry/stores/integration/upstash/store_1YDPuBF4Jd0aNpuV/guides +# Please make sure that the token you use is KV_REST_API_TOKEN; the script needs +# to be able to queries and mutations +export VERCEL_API_KEY= + +# --- diff --git a/.github/scripts/check_registry_site_health.sh b/.github/scripts/check_registry_site_health.sh old mode 100644 new mode 100755