CI fix tentative #2
This commit is contained in:
parent
a2441ce4f6
commit
7748861489
1 changed files with 8 additions and 2 deletions
|
|
@ -22,9 +22,15 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix: *site_matrix
|
matrix: *site_matrix
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./source
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout git repository
|
- name: Checkout git repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
path: "source"
|
||||||
|
|
||||||
- name: Inject configs
|
- name: Inject configs
|
||||||
env:
|
env:
|
||||||
|
|
@ -41,7 +47,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
|
cache-dependency-path: pnpm-lock.yaml
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
@ -85,7 +91,7 @@ jobs:
|
||||||
if: always() # Always run
|
if: always() # Always run
|
||||||
steps:
|
steps:
|
||||||
- name: Send Discord Notification
|
- name: Send Discord Notification
|
||||||
uses: appleboy/discord-action@master
|
uses: https://github.com/appleboy/discord-action@master
|
||||||
with:
|
with:
|
||||||
color: ${{ needs.deploy.result == 'success' && '48867' || '16711680' }}
|
color: ${{ needs.deploy.result == 'success' && '48867' || '16711680' }}
|
||||||
message: |
|
message: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue