Преглед изворни кода

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.
Antony Messerli пре 3 година
родитељ
комит
0f1945c6c4
2 измењених фајлова са 3 додато и 1 уклоњено
  1. 1 1
      .github/workflows/rolling.yml
  2. 2 0
      script/message

+ 1 - 1
.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

+ 2 - 0
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