Skip to content

Commit 1213f8c

Browse files
committed
Fix workflows & ignore docs in docker-build.yml
1 parent 73c9f2a commit 1213f8c

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,20 @@ jobs:
2828
uses: actions/setup-node@v4
2929
with:
3030
node-version: 22
31-
cache: yarn
32-
cache-dependency-path: docs/yarn.lock
31+
32+
- name: Setup pnpm
33+
uses: pnpm/action-setup@v4
3334

3435
- name: Setup Pages
3536
uses: actions/configure-pages@v4
3637

3738
- name: Install dependencies
3839
working-directory: ./docs
39-
run: yarn install --frozen-lockfile
40+
run: pnpm install --frozen-lockfile
4041

4142
- name: Build with VitePress
4243
working-directory: ./docs
43-
run: yarn run docs:build
44+
run: pnpm run docs:build
4445

4546
- name: Upload artifact
4647
uses: actions/upload-pages-artifact@v3
@@ -57,4 +58,4 @@ jobs:
5758
steps:
5859
- name: Deploy to GitHub Pages
5960
id: deployment
60-
uses: actions/deploy-pages@v4
61+
uses: actions/deploy-pages@v4

.github/workflows/docker-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ name: Build and Deploy Docker Image
33
on:
44
push:
55
branches: [ "main" ]
6+
paths-ignore:
7+
- 'docs/**'
68
pull_request:
79
branches: [ "main" ]
10+
paths-ignore:
11+
- 'docs/**'
812

913
env:
1014
REGISTRY: ghcr.io

0 commit comments

Comments
 (0)