Quellcode durchsuchen

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 vor 3 Jahren
Ursprung
Commit
0f1945c6c4
2 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  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