Skip to content

Commit 00f44f9

Browse files
committed
Rewrite workflow to remove cache configuration and use working-directory
1 parent 5ecbf4c commit 00f44f9

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@ on:
44
push:
55
branches:
66
- docs
7-
paths:
8-
- "docs/documentation/**"
9-
- ".github/workflows/deploy-docs.yml"
107
pull_request:
118
branches:
129
- develop
13-
paths:
14-
- "docs/documentation/**"
1510
workflow_dispatch:
1611

1712
permissions:
@@ -32,15 +27,16 @@ jobs:
3227

3328
- name: Setup Node.js
3429
uses: actions/setup-node@v4
35-
continue-on-error: true
3630
with:
3731
node-version: "20"
3832

3933
- name: Install dependencies
40-
run: cd docs/documentation && npm install
34+
working-directory: ./docs/documentation
35+
run: npm install
4136

4237
- name: Build documentation
43-
run: cd docs/documentation && npm run build
38+
working-directory: ./docs/documentation
39+
run: npm run build
4440
env:
4541
GITHUB_PAGES: "true"
4642

0 commit comments

Comments
 (0)