File tree Expand file tree Collapse file tree 8 files changed +44
-279
lines changed Expand file tree Collapse file tree 8 files changed +44
-279
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,6 @@ trim_trailing_whitespace = true
8
8
tab_width = 4
9
9
indent_size = 4
10
10
indent_style = space
11
+
12
+ [* .{yaml,yml} ]
13
+ indent_size = 2
Original file line number Diff line number Diff line change
1
+ name : Build and deploy to Github Pages
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+
7
+ permissions :
8
+ contents : read
9
+ pages : write
10
+ id-token : write
11
+
12
+ jobs :
13
+ build-and-deploy :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout source
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Setup Node
20
+ uses : actions/setup-node@v4
21
+ with :
22
+ node-version : 20
23
+
24
+ - name : Install dependencies
25
+ run : npm install
26
+
27
+ - name : Build site
28
+ run : npm run build
29
+
30
+ - name : Upload artifacts
31
+ uses : actions/upload-pages-artifact@v3
32
+ with :
33
+ name : " github-pages"
34
+ path : docs
35
+
36
+ - name : Deploy
37
+ uses : actions/deploy-pages@v4
38
+ with :
39
+ token : ${{ secrets.GITHUB_TOKEN }}
40
+ artifact_name : " github-pages"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ lerna-debug.log*
10
10
node_modules
11
11
dist
12
12
dist-ssr
13
+ docs
13
14
* .local
14
15
15
16
# Editor directories and files
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments