Skip to content

Commit 8f28cea

Browse files
committed
Fix auto-deploy docs 2
1 parent 96b5d18 commit 8f28cea

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/deploy_documentation.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,23 @@ jobs:
1313
runs-on: ubuntu-latest
1414
defaults:
1515
run:
16-
working-directory: adminforth/documentation
16+
working-directory: adminforth
1717
steps:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
20-
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: 9
2124
- name: Setup Node.js
2225
uses: actions/setup-node@v4
2326
with:
2427
node-version: '20'
25-
cache-dependency-path: adminforth/documentation/package-lock.json
28+
cache: 'pnpm'
29+
cache-dependency-path: adminforth/pnpm-lock.yaml
2630

2731
- name: Install dependencies
28-
run: npm ci --include=dev
29-
30-
- name: Build docs
31-
run: npm run build
32+
run: pnpm i
3233

33-
- name: Deploy docs
34-
run: npm run deploy
34+
- name: Build and deploy docs
35+
run: pnpm rollout-doc

0 commit comments

Comments
 (0)