Explorar el Código

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 hace 3 años
padre
commit
0f1945c6c4
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  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