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 61794f8 commit b448f78Copy full SHA for b448f78
.github/workflows/deploy-pages.yml
@@ -0,0 +1,41 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [main, gh-pages]
6
+ paths:
7
+ - '.github/workflows/deploy-pages.yml'
8
+ - 'docs/**'
9
+ - 'apps/website/**'
10
11
+permissions:
12
+ contents: read
13
14
+jobs:
15
+ deploy:
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ contents: write
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v4
22
+ with:
23
+ fetch-depth: 0
24
25
+ - name: Setup Pages
26
+ uses: actions/configure-pages@v5
27
28
+ - name: Build docs
29
+ run: |
30
+ cd docs
31
+ npm ci
32
+ npm run build
33
34
+ - name: Upload artifact
35
+ uses: actions/upload-pages-artifact@v3
36
37
+ path: 'docs/build/'
38
39
+ - name: Deploy to GitHub Pages
40
+ id: deployment
41
+ uses: actions/deploy-pages@v4
0 commit comments