We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e57b2 commit 304769fCopy full SHA for 304769f
1 file changed
.github/workflows/deploy_documentation.yaml
@@ -0,0 +1,34 @@
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/documentation
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v4
20
21
+ - name: Setup Node.js
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: '20'
25
+ cache-dependency-path: adminforth/documentation/package-lock.json
26
27
+ - name: Install dependencies
28
+ run: npm ci
29
30
+ - name: Build docs
31
+ run: npm run build
32
33
+ - name: Deploy docs
34
+ run: npm run deploy
0 commit comments