We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab50c99 commit 7168fadCopy full SHA for 7168fad
1 file changed
.github/workflows/deploy.yaml
@@ -0,0 +1,42 @@
1
+name: Deploy to docs.daxa.dev
2
+on:
3
+ push:
4
+ branches: ['main']
5
+ workflow_dispatch:
6
+
7
+permissions:
8
+ contents: read
9
+ pages: write
10
11
+concurrency:
12
+ group: 'pages'
13
+ cancel-in-progress: true
14
15
+jobs:
16
+ deploy:
17
+ environment:
18
+ name: github-pages
19
+ url: ${{ steps.deployment.outputs.page_url }}
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
25
+ - name: Setup Node.js
26
+ uses: actions/setup-node@v4
27
+ with:
28
+ node-version: '24'
29
30
+ - name: Building Static Site
31
+ run: |
32
+ npm ci
33
+ npm run build
34
35
+ - name: Upload artifact
36
+ uses: actions/upload-pages-artifact@v3
37
38
+ path: 'dist/'
39
40
+ - name: Deploy to GitHub Pages
41
+ id: deployment
42
+ uses: actions/deploy-pages@v4
0 commit comments