We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99774c8 commit 46517fbCopy full SHA for 46517fb
.github/workflows/docs-preview.yml
@@ -0,0 +1,34 @@
1
+name: Documentation Preview
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - reopened
8
+ - synchronize
9
+ - closed
10
+ paths:
11
+ - 'docs/**'
12
+ - '.github/workflows/docs.yml'
13
14
+concurrency: preview-${{ github.ref }}
15
16
17
+jobs:
18
+ deploy-preview:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - name: Checkout
22
+ uses: actions/checkout@v4
23
24
+ - name: Install and Build
25
+ if: github.event.action != 'closed'
26
+ working-directory: ./docs
27
+ run: |
28
+ npm install
29
+ npm run docs:build
30
31
+ - name: Deploy preview
32
+ uses: rossjrw/pr-preview-action@v1
33
+ with:
34
+ source-dir: ./docs/.vitepress/dist
0 commit comments