Skip to content

Commit 3fe0f3f

Browse files
authored
Merge branch 'main' into live-demo-edit-build
2 parents e254d6b + bb9eec5 commit 3fe0f3f

2 files changed

Lines changed: 38 additions & 7 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'adminforth/documentation/**'
9+
- '.github/workflows/deploy_documentation.yaml'
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
defaults:
15+
run:
16+
working-directory: adminforth
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: 9
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: '20'
28+
cache: 'pnpm'
29+
cache-dependency-path: adminforth/pnpm-lock.yaml
30+
31+
- name: Install dependencies
32+
run: |
33+
pnpm i
34+
cd documentation
35+
pnpm i
36+
37+
- name: Build and deploy docs
38+
run: pnpm rollout-doc

live-demo/app/pnpm-lock.yaml

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)