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
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue