Przeglądaj źródła

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 lat temu
rodzic
commit
0f1945c6c4
2 zmienionych plików z 3 dodań i 1 usunięć
  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