mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +02:00
feat(ci): filter dependencies to make installation faster
This commit is contained in:
parent
6998a3593e
commit
093f48f76a
8
.github/workflows/website.yml
vendored
8
.github/workflows/website.yml
vendored
@ -14,6 +14,7 @@ on:
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build & deploy website
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -24,10 +25,11 @@ jobs:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: pnpm/action-setup@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --filter website... --frozen-lockfile
|
||||
|
||||
- name: Build the website
|
||||
run: |
|
||||
pnpm i
|
||||
pnpm website:build
|
||||
run: pnpm website:build
|
||||
|
||||
- name: Deploy
|
||||
uses: ./.github/actions/deploy-to-cloudflare-pages
|
||||
|
Loading…
x
Reference in New Issue
Block a user