Ver Fonte

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 há 3 anos atrás
pai
commit
0f1945c6c4
2 ficheiros alterados com 3 adições e 1 exclusões
  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