From 0f1945c6c4f3b621d3bf0e2f81f37e38293b96c8 Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Fri, 1 Oct 2021 08:38:07 -0500 Subject: [PATCH] Update Discord notification for rolling push Existing push was notifying release was updated when it is really just the rolling push. Updates message to be more accurate. --- .github/workflows/rolling.yml | 2 +- script/message | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rolling.yml b/.github/workflows/rolling.yml index e28c969d..a19abf53 100644 --- a/.github/workflows/rolling.yml +++ b/.github/workflows/rolling.yml @@ -65,4 +65,4 @@ jobs: - name: Notify Discord on completion if: success() run: | - ./script/message live-push + ./script/message rolling-push diff --git a/script/message b/script/message index b3e24632..9c6cc59c 100755 --- a/script/message +++ b/script/message @@ -9,6 +9,8 @@ elif [ "${TYPE}" == "rc-push" ]; then BOOT_URL="https://staging.boot.netboot.xyz/$(cat version.txt)-RC/index.html" elif [ "${TYPE}" == "live-push" ]; then BOOT_URL="https://boot.netboot.xyz/$(cat version.txt)/index.html" +elif [ "${TYPE}" == "rolling-push" ]; then + BOOT_URL="https://boot.netboot.xyz/index.html" fi # send status to discord