CI fix tentative #1
This commit is contained in:
parent
b961b0852a
commit
a2441ce4f6
1 changed files with 5 additions and 4 deletions
|
|
@ -41,6 +41,7 @@ jobs:
|
|||
uses: actions/setup-node@v4
|
||||
with:
|
||||
cache: "pnpm"
|
||||
cache-dependency-path: ./source/pnpm-lock.yaml
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
|
@ -86,14 +87,14 @@ jobs:
|
|||
- name: Send Discord Notification
|
||||
uses: appleboy/discord-action@master
|
||||
with:
|
||||
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
||||
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
||||
color: ${{ needs.deploy.result == 'success' && '48867' || '16711680' }}
|
||||
message: |
|
||||
**Deployment Report**
|
||||
**Status:** ${{ needs.deploy.result }}
|
||||
**Repo:** ${{ gitea.repository }}
|
||||
**Commit:** ${{ gitea.sha }}
|
||||
**Repo:** ${{ github.repository }}
|
||||
**Commit:** ${{ github.sha }}
|
||||
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
||||
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
||||
|
||||
# For later
|
||||
# - name: Send Matrix Notification
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue