CI fix tentative #1
Some checks failed
Build and deploy all / build (push) Failing after 18s
Build and deploy all / deploy (push) Has been skipped
Build and deploy all / notify (push) Failing after 2s

This commit is contained in:
Gu://em_ 2026-03-30 17:29:18 +02:00
parent b961b0852a
commit a2441ce4f6

View file

@ -41,6 +41,7 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
cache: "pnpm" cache: "pnpm"
cache-dependency-path: ./source/pnpm-lock.yaml
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install
@ -86,14 +87,14 @@ jobs:
- name: Send Discord Notification - name: Send Discord Notification
uses: appleboy/discord-action@master uses: appleboy/discord-action@master
with: with:
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
color: ${{ needs.deploy.result == 'success' && '48867' || '16711680' }} color: ${{ needs.deploy.result == 'success' && '48867' || '16711680' }}
message: | message: |
**Deployment Report** **Deployment Report**
**Status:** ${{ needs.deploy.result }} **Status:** ${{ needs.deploy.result }}
**Repo:** ${{ gitea.repository }} **Repo:** ${{ github.repository }}
**Commit:** ${{ gitea.sha }} **Commit:** ${{ github.sha }}
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
# For later # For later
# - name: Send Matrix Notification # - name: Send Matrix Notification