From 401b309167e4f90fa2afb286081afbec604a6427 Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Sat, 6 Jun 2026 17:33:03 -0700 Subject: [PATCH 1/4] Update npm-build.yaml --- .github/workflows/npm-build.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/npm-build.yaml b/.github/workflows/npm-build.yaml index 5b0633f..b0ecad1 100644 --- a/.github/workflows/npm-build.yaml +++ b/.github/workflows/npm-build.yaml @@ -20,8 +20,11 @@ on: default: false secrets: webhook: + DISCORD_WEBHOOK: ai_chat_api: + AI_CHAT_API: ai_chat_auth: + AI_CHAT_AUTH: jobs: build: @@ -52,8 +55,8 @@ jobs: - name: "Build" env: - VITE_AI_API: ${{ secrets.ai_chat_api }} - VITE_AI_AUTH: ${{ secrets.ai_chat_auth }} + VITE_AI_API: ${{ secrets.AI_CHAT_API || secrets.ai_chat_api }} + VITE_AI_AUTH: ${{ secrets.AI_CHAT_AUTH || secrets.ai_chat_auth }} run: | ${{ inputs.build }} @@ -89,7 +92,7 @@ jobs: if: ${{ failure() && env.webhook }} uses: sarisia/actions-status-discord@v1 env: - webhook: ${{ secrets.webhook }} + webhook: ${{ secrets.DISCORD_WEBHOOK || secrets.webhook }} with: - webhook: ${{ secrets.webhook }} - description: "https://dev-static.cssnr.com/" + webhook: ${{ secrets.DISCORD_WEBHOOK || secrets.webhook }} + description: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} From dfdc931fb0f511d295ab9451b1c0987871aad24c Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Sat, 6 Jun 2026 17:33:45 -0700 Subject: [PATCH 2/4] Update npm-build.yaml --- .github/workflows/npm-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-build.yaml b/.github/workflows/npm-build.yaml index b0ecad1..71684be 100644 --- a/.github/workflows/npm-build.yaml +++ b/.github/workflows/npm-build.yaml @@ -94,5 +94,5 @@ jobs: env: webhook: ${{ secrets.DISCORD_WEBHOOK || secrets.webhook }} with: - webhook: ${{ secrets.DISCORD_WEBHOOK || secrets.webhook }} + webhook: ${{ env.webhook }} description: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} From c63592481a2e194133056270ce698042042d630f Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Sat, 6 Jun 2026 17:41:26 -0700 Subject: [PATCH 3/4] Fix Fucking Retard --- .github/workflows/npm-build.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/npm-build.yaml b/.github/workflows/npm-build.yaml index 71684be..7343ed5 100644 --- a/.github/workflows/npm-build.yaml +++ b/.github/workflows/npm-build.yaml @@ -19,11 +19,8 @@ on: type: boolean default: false secrets: - webhook: DISCORD_WEBHOOK: - ai_chat_api: AI_CHAT_API: - ai_chat_auth: AI_CHAT_AUTH: jobs: @@ -55,8 +52,8 @@ jobs: - name: "Build" env: - VITE_AI_API: ${{ secrets.AI_CHAT_API || secrets.ai_chat_api }} - VITE_AI_AUTH: ${{ secrets.AI_CHAT_AUTH || secrets.ai_chat_auth }} + VITE_AI_API: ${{ secrets.AI_CHAT_API }} + VITE_AI_AUTH: ${{ secrets.AI_CHAT_AUTH }} run: | ${{ inputs.build }} @@ -92,7 +89,7 @@ jobs: if: ${{ failure() && env.webhook }} uses: sarisia/actions-status-discord@v1 env: - webhook: ${{ secrets.DISCORD_WEBHOOK || secrets.webhook }} + webhook: ${{ secrets.DISCORD_WEBHOOK }} with: - webhook: ${{ env.webhook }} + webhook: ${{ secrets.DISCORD_WEBHOOK }} description: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} From 10211bffa3e5ead0381aaeb0abc8931778fded5c Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Sat, 6 Jun 2026 17:51:51 -0700 Subject: [PATCH 4/4] Fix FR --- .github/workflows/npm-build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-build.yaml b/.github/workflows/npm-build.yaml index 7343ed5..d9d3649 100644 --- a/.github/workflows/npm-build.yaml +++ b/.github/workflows/npm-build.yaml @@ -19,6 +19,7 @@ on: type: boolean default: false secrets: + WEBHOOK: DISCORD_WEBHOOK: AI_CHAT_API: AI_CHAT_AUTH: @@ -89,7 +90,7 @@ jobs: if: ${{ failure() && env.webhook }} uses: sarisia/actions-status-discord@v1 env: - webhook: ${{ secrets.DISCORD_WEBHOOK }} + webhook: ${{ secrets.DISCORD_WEBHOOK || secrets.WEBHOOK }} with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} + webhook: ${{ env.webhook }} description: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}